Disabled external gits
This commit is contained in:
2
cs320-clp/test/resources/parser/passing/Empty.scala
Normal file
2
cs320-clp/test/resources/parser/passing/Empty.scala
Normal file
@@ -0,0 +1,2 @@
|
||||
object Empty {
|
||||
}
|
@@ -0,0 +1,3 @@
|
||||
object IfCondition {
|
||||
if (val x: Boolean = true; x) { 1 } else { 2 }
|
||||
}
|
3
cs320-clp/test/resources/parser/passing/Literals.scala
Normal file
3
cs320-clp/test/resources/parser/passing/Literals.scala
Normal file
@@ -0,0 +1,3 @@
|
||||
object Literals {
|
||||
1; (); ( ); "Hello"; true
|
||||
}
|
@@ -0,0 +1,6 @@
|
||||
object IfMatch {
|
||||
if (true) { 1 } else { 2 } match {
|
||||
case 1 => true
|
||||
case 2 => false
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user