Disabled external gits

This commit is contained in:
2022-04-07 18:43:21 +02:00
parent 182267a8cb
commit 88cb3426ad
1067 changed files with 102374 additions and 6 deletions

View File

@@ -0,0 +1,3 @@
object MinimalError {
error("")
}

View File

@@ -0,0 +1,3 @@
object EmptyObject {
}

View File

@@ -0,0 +1,4 @@
/* This comment is closed twice,
which should not be interpreted as a single closed comment
*/*/

View File

@@ -0,0 +1 @@
&

View File

@@ -0,0 +1 @@
/***

View File

@@ -0,0 +1,3 @@
OperatorToken(*)(4:3)
OperatorToken(/)(4:4)
EOFToken()(4:5)

View File

@@ -0,0 +1,18 @@
KeywordToken(abstract)(1:1)
PrimTypeToken(Boolean)(1:10)
KeywordToken(case)(2:1)
KeywordToken(class)(2:6)
KeywordToken(def)(2:12)
KeywordToken(else)(2:16)
KeywordToken(error)(2:21)
KeywordToken(extends)(2:27)
BoolLitToken(false)(2:35)
KeywordToken(if)(2:41)
PrimTypeToken(Int)(2:44)
KeywordToken(match)(2:48)
KeywordToken(object)(2:54)
PrimTypeToken(String)(2:61)
BoolLitToken(true)(3:1)
PrimTypeToken(Unit)(3:6)
KeywordToken(val)(3:11)
EOFToken()(4:1)

View File

@@ -0,0 +1,3 @@
IntLitToken(1)(1:2)
IntLitToken(2)(2:5)
EOFToken()(3:1)

View File

@@ -0,0 +1,4 @@
/* This comment is closed twice,
which should be an error:
*/*/

View File

@@ -0,0 +1,3 @@
abstract Boolean
case class def else error extends false if Int match object String
true Unit val

View File

@@ -0,0 +1,2 @@
1 // Tab indented
2 // Space indented

View File

@@ -0,0 +1,3 @@
object Args {
def foo(i: Int): Int = { foo(1, 2) }
}

View File

@@ -0,0 +1,8 @@
object ParamAndLocal_0 {
def foo_0(i_0: Int): Int = {
val i_1: Int =
(i_0 + 1);
i_1
}
}

View File

@@ -0,0 +1,6 @@
object ParamAndLocal {
def foo(i: Int): Int = {
val i: Int = i + 1;
i
}
}

View File

@@ -0,0 +1,2 @@
object Empty {
}

View File

@@ -0,0 +1,11 @@
object IfCondition {
(if((
val x: Boolean =
true;
x
)) {
1
} else {
2
})
}

View File

@@ -0,0 +1,7 @@
object Literals {
1;
();
();
"Hello";
true
}

View File

@@ -0,0 +1,12 @@
object IfMatch {
(if(true) {
1
} else {
2
}) match {
case 1 =>
true
case 2 =>
false
}
}

View File

@@ -0,0 +1,2 @@
object Empty {
}

View File

@@ -0,0 +1,3 @@
object IfCondition {
if (val x: Boolean = true; x) { 1 } else { 2 }
}

View File

@@ -0,0 +1,3 @@
object Literals {
1; (); ( ); "Hello"; true
}

View File

@@ -0,0 +1,6 @@
object IfMatch {
if (true) { 1 } else { 2 } match {
case 1 => true
case 2 => false
}
}

View File

@@ -0,0 +1,3 @@
object ArithError1 {
1 + true
}

View File

@@ -0,0 +1,3 @@
object Arithmetic {
1 + 2 * 3 / 4 % -5
}