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 0a8bb4b commit e24bb31Copy full SHA for e24bb31
tests/pos/i9355/MainTest_2.scala
@@ -0,0 +1,3 @@
1
+object MainTest extends App {
2
+ println(JSON.JArray(1))
3
+}
tests/pos/i9355/Main_1.scala
@@ -0,0 +1,9 @@
+object JSON {
+ sealed trait Json
+ final case class JArray(elems: JValue*) extends Json
4
+ type JValue = Number | JArray
5
6
+
7
+object Main extends App {
8
9
0 commit comments