We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AntiAliasing complains that b is aliased when calling inner:
AntiAliasing
b
inner
object InnerFnsAliasing { case class Box(var value: Int) def outer(b: Box): Unit = { def inner(v: Int): Unit = { require(b.value == v) } inner(b.value) // Illegal passing of aliased local variable: b } }
Here, we are passing a value of an immutable type to inner, as such, b is not aliased.
The text was updated successfully, but these errors were encountered:
Fix epfl-lara#1268 epfl-lara#1269 epfl-lara#1270 epfl-lara#1272 epfl-…
73b1924
…lara#1273 epfl-lara#1274
fefe009
854e4f4
Fix #1268 #1269 #1270 #1272 #1273 #1274
ad8e2b4
Successfully merging a pull request may close this issue.
AntiAliasing
complains thatb
is aliased when callinginner
:Here, we are passing a value of an immutable type to
inner
, as such,b
is not aliased.The text was updated successfully, but these errors were encountered: