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
- add '-Ypickle-java' and '-Ypickle-write' flags 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.
- 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.")
375
375
valYprintPosSyms:Setting[Boolean] =BooleanSetting("-Yprint-pos-syms", "Show symbol definitions positions.")
376
376
valYnoDeepSubtypes:Setting[Boolean] =BooleanSetting("-Yno-deep-subtypes", "Throw an exception on deep subtyping call stacks.")
377
+
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.")
377
378
valYnoPatmatOpt:Setting[Boolean] =BooleanSetting("-Yno-patmat-opt", "Disable all pattern matching optimizations.")
378
379
valYplainPrinter:Setting[Boolean] =BooleanSetting("-Yplain-printer", "Pretty-print using a plain printer.")
379
380
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")
436
437
437
438
// Pipeline compilation options
438
-
valYjavaTasty:Setting[Boolean] =BooleanSetting("-Yjava-tasty", "Pickler phase should compute pickles for .java defined symbols for use by build tools")
439
-
valYjavaTastyOutput:Setting[AbstractFile] =OutputSetting("-Yjava-tasty-output", "directory|jar", "(Internal use only!) destination for generated .tasty files containing Java type signatures.", NoAbstractFile)
439
+
valYjavaTasty:Setting[Boolean] =BooleanSetting("-Yjava-tasty", "Pickler phase should compute pickles for .java defined symbols for use by build tools", aliases =List("-Ypickle-java"))
440
+
valYearlyTastyOutput:Setting[AbstractFile] =OutputSetting("-Yearly-tasty-output", "directory|jar", "Destination for generated .tasty files containing possibly outline type signatures.", NoAbstractFile, aliases =List("-Ypickle-write"))
440
441
valYallowOutlineFromTasty:Setting[Boolean] =BooleanSetting("-Yallow-outline-from-tasty", "Allow outline TASTy to be loaded with the -from-tasty option.")
0 commit comments