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: _sips/sips/scala-cli.md
+9-35Lines changed: 9 additions & 35 deletions
Original file line number
Diff line number
Diff line change
@@ -624,49 +624,26 @@ As a part of this SIP we propose to introduce Using Directives, a special commen
624
624
625
625
Using directives can be place on only top of the file (above imports, package definition etx.) and can be proceed only by plain comments (e.g. to comment out an using directive)
626
626
627
-
Comments containing directives needs to start by `>`, for example:
627
+
Comments containing directives needs to start by `//>`, for example:
628
628
629
629
```
630
-
//> using Scala 3
631
-
/*> using
632
-
Scala 3
633
-
option "-Xfatal-warning"
634
-
*/
630
+
//> using scala 3
631
+
//> using platform scala-js
632
+
//> using options -Xasync
635
633
```
636
634
637
635
We propose following sytax for Using Directives (within special comments described above):
0 commit comments