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
Copy file name to clipboardExpand all lines: compiler/src/dotty/tools/dotc/config/ScalaSettings.scala
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -124,7 +124,6 @@ trait CommonScalaSettings:
124
124
125
125
/* Other settings */
126
126
valencoding:Setting[String] =StringSetting(RootSetting, "encoding", "encoding", "Specify character encoding used by source files.", Properties.sourceEncoding, aliases =List("--encoding"))
127
-
valusejavacp:Setting[Boolean] =BooleanSetting(RootSetting, "usejavacp", "Utilize the java.class.path in classpath resolution.", aliases =List("--use-java-class-path"))
128
127
valscalajs:Setting[Boolean] =BooleanSetting(RootSetting, "scalajs", "Compile in Scala.js mode (requires scalajs-library.jar on the classpath).", aliases =List("--scalajs"))
129
128
valreplInitScript:Setting[String] =StringSetting(RootSetting, "repl-init-script", "code", "The code will be run on REPL startup.", "", aliases =List("--repl-init-script"))
130
129
valreplQuitAfterInit:Setting[Boolean] =BooleanSetting(RootSetting, "repl-quit-after-init", "Quit REPL after evaluating the init script.", aliases =List("--repl-quit-after-init"))
valYlogClasspath:Setting[Boolean] =BooleanSetting(ForkSetting, "Ylog-classpath", "Output information about what classpath is being applied.")
404
403
valYdisableFlatCpCaching:Setting[Boolean] =BooleanSetting(ForkSetting, "YdisableFlatCpCaching", "Do not cache flat classpath representation of classpath elements from jars across compiler instances.")
405
404
valYnoStdlibPatches:Setting[Boolean] =BooleanSetting(ForkSetting, "Yno-stdlib-patches", "Do not patch stdlib files (temporary and only to be used for the stdlib migration)", false)
406
-
407
405
valYreporter:Setting[String] =StringSetting(ForkSetting, name ="Yreporter", helpArg ="<class>", descr ="Specify a dotty.tools.dotc.reporting.Reporter", default ="dotty.tools.dotc.reporting.ConsoleReporter")
408
406
409
407
valYscala2Unpickler:Setting[String] =StringSetting(ForkSetting, "Yscala2-unpickler", "", "Control where we may get Scala 2 symbols from. This is either \"always\", \"never\", or a classpath.", "always")
410
408
411
409
valYnoImports:Setting[Boolean] =BooleanSetting(ForkSetting, "Yno-imports", "Compile without importing scala.*, java.lang.*, or Predef.")
410
+
412
411
valYimports:Setting[List[String]] =MultiStringSetting(ForkSetting, "Yimports", helpArg="", "Custom root imports. If set, none of scala.*, java.lang.*, or Predef.* will be imported unless explicitly included.")
413
412
valYnoPredef:Setting[Boolean] =BooleanSetting(ForkSetting, "Yno-predef", "Compile without importing Predef.")
valYprofileExternalTool:Setting[List[String]] =PhasesSetting(ForkSetting, "Yprofile-external-tool", "Enable profiling for a phase using an external tool hook. Generally only useful for a single phase.", "typer", depends =List(YprofileEnabled->true))
448
447
valYprofileRunGcBetweenPhases:Setting[List[String]] =PhasesSetting(ForkSetting, "Yprofile-run-gc", "Run a GC between phases - this allows heap size to be accurate at the expense of more time. Specify a list of phases, or *", "_", depends =List(YprofileEnabled->true))
449
448
valYprofileTrace:Setting[String] =StringSetting(ForkSetting, "Yprofile-trace", "file", s"Capture trace of compilation in JSON Chrome Trace format to the specified file. This option requires ${YprofileEnabled.name}. The output file can be visualized using https://ui.perfetto.dev/.", "", depends =List(YprofileEnabled->true))
450
-
451
449
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.")
450
+
valYusejavacp:Setting[Boolean] =BooleanSetting(ForkSetting, "Yusejavacp", "Utilize the java.class.path in classpath resolution.", aliases =List("--use-java-class-path", "-usejavacp", "--usejavacp"))
452
451
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.")
453
452
454
453
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.", "")
0 commit comments