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
valYmagicOffsetHeader:Setting[String] =StringSetting(ForkSetting, "Ymagic-offset-header", "header", "Specify the magic header comment that marks the start of the actual code in generated wrapper scripts. Example: -Ymagic-offset-header:SOURCE_CODE_START. Then, in the source, the magic comment `///SOURCE_CODE_START:<ORIGINAL_FILE_PATH>` marks the start of user code. The comment should be suffixed by `:<ORIGINAL_FILE_PATH>` to indicate the original file.", "")
562
562
563
563
// Experimental language features
564
-
valYexplicitNulls:Setting[Boolean] =BooleanSetting(ForkSetting, "Yexplicit-nulls", "Make reference types non-nullable. Nullable types can be expressed with unions: e.g. String|Null.")
564
+
valYexplicitNulls:Setting[Boolean] =BooleanSetting(ForkSetting, "Yexplicit-nulls", "Since explicit nulls is enabled by default, this flag now enables safe nulls for explicit-nulls")
valYnoFlexibleTypes:Setting[Boolean] =BooleanSetting(ForkSetting, "Yno-flexible-types", "Disable turning nullable Java return types and parameter types into flexible types, which behave like abstract types with a nullable lower bound and non-nullable upper bound.")
566
567
valYflexifyTasty:Setting[Boolean] =BooleanSetting(ForkSetting, "Yflexify-tasty", "Apply flexification to Scala code compiled without -Yexplicit-nulls, when reading from tasty.")
567
568
valYsafeInitGlobal:Setting[Boolean] =BooleanSetting(ForkSetting, "Ysafe-init-global", "Check safe initialization of global objects.")
valYexplainLowlevel:Setting[Boolean] =BooleanSetting(ForkSetting, "Yexplain-lowlevel", "When explaining type errors, show types at a lower level.")
578
579
valYnoDoubleBindings:Setting[Boolean] =BooleanSetting(ForkSetting, "Yno-double-bindings", "Assert no namedtype is bound twice (should be enabled only if program is error-free).")
579
580
valYshowVarBounds:Setting[Boolean] =BooleanSetting(ForkSetting, "Yshow-var-bounds", "Print type variables with their bounds.")
581
+
valYhideFlexibleTypes:Setting[Boolean] =BooleanSetting(ForkSetting, "Yhide-flexible-types", "Print flexible types as their base type. (T instead of (T)?)")
580
582
581
583
valYinstrument:Setting[Boolean] =BooleanSetting(ForkSetting, "Yinstrument", "Add instrumentation code that counts allocations and closure creations.")
582
584
valYinstrumentDefs:Setting[Boolean] =BooleanSetting(ForkSetting, "Yinstrument-defs", "Add instrumentation code that counts method calls; needs -Yinstrument to be set, too.")
0 commit comments