Skip to content
New issue

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

Purity Domain fails in REPL #18

Open
lrytz opened this issue Jun 3, 2013 · 0 comments
Open

Purity Domain fails in REPL #18

lrytz opened this issue Jun 3, 2013 · 0 comments

Comments

@lrytz
Copy link
Owner

lrytz commented Jun 3, 2013

scala> lamppc11:scala-2.10 luc$ ~/scala/scala-2.10.1/bin/scala -cp effects-plugin_2.10-0.1-SNAPSHOT.jar -Xplugin:effects-plugin_2.10-0.1-SNAPSHOT.jar -P:effects:domains:purity
Welcome to Scala version 2.10.1 (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_45).

scala> 1
<console>:5: error: effect type mismatch;
 found   : @mod($eval.this) @loc(any)
 required: @mod() @loc(any)
@mod($eval.this) does not conform to @mod()
  lazy val $result = `res0`
           ^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant