We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b208e4 commit 9b710ffCopy full SHA for 9b710ff
compiler/test/dotty/tools/dotc/Playground.scala
@@ -0,0 +1,13 @@
1
+package dotty.tools.dotc
2
+
3
+import dotty.tools.vulpix._
4
+import org.junit.Test
5
+import org.junit.Ignore
6
7
+@Ignore class Playground:
8
+ import TestConfiguration._
9
+ import CompilationTests._
10
11
+ @Test def example: Unit =
12
+ implicit val testGroup: TestGroup = TestGroup("playground")
13
+ compileFile("tests/playground/example.scala", defaultOptions).checkCompile()
tests/playground/example.scala
@@ -0,0 +1,4 @@
+object Test:
+ val foo: Int = 2
+ def bar(x: Int): Int = x + x
+ bar(foo)
0 commit comments