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
- Added compiler setting to configure magic line number comments
- Implemented line number offset reporting when magic comments are
present
fixes#21919.
valYbestEffort:Setting[Boolean] =BooleanSetting(ForkSetting, "Ybest-effort", "Enable best-effort compilation attempting to produce betasty to the META-INF/best-effort directory, regardless of errors, as part of the pickler phase.")
445
445
valYwithBestEffortTasty:Setting[Boolean] =BooleanSetting(ForkSetting, "Ywith-best-effort-tasty", "Allow to compile using best-effort tasty files. If such file is used, the compiler will stop after the pickler phase.")
446
446
447
+
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.", "")
448
+
447
449
// Experimental language features
448
450
@deprecated(message ="This flag has no effect and will be removed in a future version.", since ="3.7.0")
449
451
valYnoKindPolymorphism:Setting[Boolean] =BooleanSetting(ForkSetting, "Yno-kind-polymorphism", "Disable kind polymorphism. (This flag has no effect)", deprecation =Deprecation.removed())
0 commit comments