| 
Scala example source code file (annotDepMethType.scala)
 The Scala annotDepMethType.scala source code
case class pc(calls: Any*) extends TypeConstraint
object Main {
  class C0 { def baz: String = "" }
  class C1 { def bar(c0: C0): String @pc(c0.baz) = c0.baz }
  def trans(c1: C1): String @pc(c1.bar(throw new Error())) = c1.bar(new C0)
}
Other Scala examples (source code examples)Here is a short list of links related to this Scala annotDepMethType.scala source code file:  | 
| ... this post is sponsored by my books ... | |
         
           #1 New Release!  | 
      
         
           FP Best Seller  | 
  
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse 
URI on this website is
paid back to open source projects.