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
add support for pipeline build of Scala and Java files
- rename '-Yjava-tasty-output' to '-Yearly-tasty-output' because
now Scala TASTy will also be written to this destination.
- add '-Ypickle-java' alias of '-Yjava-tasty', as expected by Zinc
- add '-Ypickle-write' alias of '-Yearly-tasty-output', as expected by Zinc
- move ExtractAPI phase to after Pickler, this way we can do it in
parallel with generating TASTy bytes. At the end of this phase we
write the TASTy to the '-Yearly-tasty-output' destination.
Also ensure that ExtractAPI phase runs with '-Yjava-tasty', even if no
incremental callback is set (don't extract the API in this case).
- test the pipelining with sbt scripted tests, including for inline
methods and macros with pipelining
- describe semantics with respect to suspensions,
introduce -Yno-suspended-units flag for greater control by the user.
valYprintPos:Setting[Boolean] =BooleanSetting("-Yprint-pos", "Show tree positions.")
381
381
valYprintPosSyms:Setting[Boolean] =BooleanSetting("-Yprint-pos-syms", "Show symbol definitions positions.")
382
382
valYnoDeepSubtypes:Setting[Boolean] =BooleanSetting("-Yno-deep-subtypes", "Throw an exception on deep subtyping call stacks.")
383
+
valYnoSuspendedUnits:Setting[Boolean] =BooleanSetting("-Yno-suspended-units", "Do not suspend units, e.g. when calling a macro defined in the same run. This will error instead of suspending.")
383
384
valYnoPatmatOpt:Setting[Boolean] =BooleanSetting("-Yno-patmat-opt", "Disable all pattern matching optimizations.")
384
385
valYplainPrinter:Setting[Boolean] =BooleanSetting("-Yplain-printer", "Pretty-print using a plain printer.")
385
386
valYprintSyms:Setting[Boolean] =BooleanSetting("-Yprint-syms", "When printing trees print info in symbols instead of corresponding info in trees.")
valYdebugMacros:Setting[Boolean] =BooleanSetting("-Ydebug-macros", "Show debug info when quote pattern match fails")
441
442
442
443
// Pipeline compilation options
443
-
valYjavaTasty:Setting[Boolean] =BooleanSetting("-Yjava-tasty", "Pickler phase should compute pickles for .java defined symbols for use by build tools")
444
-
valYjavaTastyOutput:Setting[AbstractFile] =OutputSetting("-Yjava-tasty-output", "directory|jar", "(Internal use only!) destination for generated .tasty files containing Java type signatures.", NoAbstractFile)
444
+
valYjavaTasty:Setting[Boolean] =BooleanSetting("-Yjava-tasty", "Pickler phase should compute pickles for .java defined symbols for use by build tools", aliases =List("-Ypickle-java"))
445
+
valYearlyTastyOutput:Setting[AbstractFile] =OutputSetting("-Yearly-tasty-output", "directory|jar", "Destination for generated .tasty files containing possibly outline type signatures.", NoAbstractFile, aliases =List("-Ypickle-write"))
445
446
valYallowOutlineFromTasty:Setting[Boolean] =BooleanSetting("-Yallow-outline-from-tasty", "Allow outline TASTy to be loaded with the -from-tasty option.")
0 commit comments