This repository was archived by the owner on Mar 27, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +20
-3
lines changed
top-level-definitions/src/main/scala/org/lunatechlabs/multi Expand file tree Collapse file tree 5 files changed +20
-3
lines changed Original file line number Diff line number Diff line change 11
22Global / onChangedBuildSource := ReloadOnSourceChanges
33
4- lazy val `dotty -snippets` = project
4+ lazy val `scala-3 -snippets` = project
55 .in(file(" ." ))
6- .settings(ThisBuild / scalaVersion := " 3.0.0 " )
6+ .settings(ThisBuild / scalaVersion := " 3.2.2 " )
77 .settings(
88 name := " dotty-simple" ,
99 version := " 0.1.0" ,
@@ -16,6 +16,7 @@ lazy val `dotty-snippets` = project
1616 `intersection-and-union-types`,
1717 `enumerations`,
1818 `export-clause`,
19+ `top-level-definitions`,
1920 )
2021
2122lazy val `new-control-structure-syntax` = project.in(file(" new-control-structure-syntax" ))
@@ -27,3 +28,6 @@ lazy val `enumerations` = project.in(file("enumerations"))
2728lazy val `export-clause` = project.in(file(" export-clause" ))
2829
2930lazy val `intersection-and-union-types` = project.in(file(" intersection-and-union-types" ))
31+
32+ lazy val `top-level-definitions` = project.in(file(" top-level-definitions" ))
33+
Original file line number Diff line number Diff line change 1- sbt.version =1.5 .2
1+ sbt.version =1.8 .2
Original file line number Diff line number Diff line change 1+ package org .lunatechlabs .multi
2+
3+ object Application extends App {
4+ println(s " $x $y $private_x $private_y" )
5+ }
Original file line number Diff line number Diff line change 1+ package org .lunatechlabs .multi
2+
3+ val x = 5
4+ private val private_x = 27
Original file line number Diff line number Diff line change 1+ package org .lunatechlabs .multi
2+
3+ val y = 15
4+ private val private_y = 730
You can’t perform that action at this time.
0 commit comments