-
Notifications
You must be signed in to change notification settings - Fork 20
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
Fix AST transformations of by-name parameters #27
base: master
Are you sure you want to change the base?
Fix AST transformations of by-name parameters #27
Conversation
…into add-async-tests
…into add-async-tests
However, this commit is not stable. There is an infinite loop when compiling `async-await-tests.scala`.
smithjessk/add-async-tests contains many async tests that do not pass. Some of these, along with some improvements to the code, were copied into this branch. This commit removes the changes and tests that have to do with method definitions.
@@ -96,6 +96,7 @@ object CoroutinesBuild extends MechaRepoBuild { | |||
"org.scalatest" % "scalatest_2.11" % "2.2.6" % "test", | |||
"org.scala-lang.modules" %% "scala-parser-combinators" % "1.0.2", | |||
"org.scala-lang" % "scala-reflect" % "2.11.4", | |||
"org.scala-lang" % "scala-compiler" % "2.11.4", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How come we need this dependency?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added it while experimenting with different solutions. Forgot to take it out.
Removed it in 1387ecb.
Please also add an additional file to tests |
…eters Note that these tests currently fail.
Assert that they are not lifted even when they surround a non by-name parameter.
Should I take another look? |
I still have to go over a few of your comments. In the meantime, could you look at this? Thanks! |
Previously, the parameters passed by-name were unapplied coroutines.
To-do list for by-name analysis:
|
Note: this branch has merge conflicts. |
Yep- I'm still working on it. Do you mind taking a look at this comment? |
Closes #24.