|
Scala example source code file (t2792.check)
The Scala t2792.check source code
builder > A1.scala A2.scala A3.scala
compiling Set(A1.scala, A2.scala, A3.scala)
Changes: Map()
builder > A1.scala
compiling Set(A1.scala)
Changes: Map(object A -> List(Added(Definition(A.x_$eq)), Changed(Definition(A.x))[value x changed to variable x]))
invalidate A2.scala because it references changed definition [Changed(Definition(A.x))[value x changed to variable x]]
compiling Set(A2.scala)
A2.scala:2: error: stable identifier required, but A.x found.
import A.x.y
^
Other Scala examples (source code examples)Here is a short list of links related to this Scala t2792.check 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.