You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're missing a continuations dependency when we try to build reflect
in eclipse which causes things to die horribly. This commit adds an
eclipse project for the library portion of continuations, makes
projects that depend on the scala-library also depend on
continuations-library, and adds another bullet to the eclipse readme to
turn on the continuations plugin.
Copy file name to clipboardExpand all lines: src/eclipse/README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,9 @@ JDK. The Scala library uses such APIs, so you'd see this error:
20
20
You can *fix* it by allowing calls to restricted APIs in `Java=>Compiler=>Errors/Warnings=>Deprecated and Restricted API`
21
21
settings.
22
22
23
-
3. The IDE guesses the Scala library version by looking for `library.properties` inside
23
+
3. We need to build the continuations library for some dependencies and that library requires the continuations plugin to be enabled. In preferences go to Scala=>Compiler and add "continuations:enable" to the P parameter.
24
+
25
+
4. The IDE guesses the Scala library version by looking for `library.properties` inside
24
26
the library jar. The `scala-library` project does not have such a file, so you will see
25
27
an error about incompatible libraries. You can work around it by adding a `library.properties`
26
28
inside `src/library` with the following contents:
@@ -31,7 +33,7 @@ inside `src/library` with the following contents:
0 commit comments