summaryrefslogtreecommitdiff
path: root/testdata/language-features/basic-values
diff options
context:
space:
mode:
authorPéter Diviánszky <divipp@gmail.com>2016-02-01 13:34:12 +0100
committerPéter Diviánszky <divipp@gmail.com>2016-02-01 13:34:12 +0100
commit1115ce36a9da07a1ef7a813843ea2777cdc907e2 (patch)
tree4924866cb3a47d36167ba3eefc369e26e5b743e6 /testdata/language-features/basic-values
parent528a060fc407d5c9fd9b8af2ebf5265e164c711d (diff)
bugfix
Diffstat (limited to 'testdata/language-features/basic-values')
-rw-r--r--testdata/language-features/basic-values/def05.reject.out2
-rw-r--r--testdata/language-features/basic-values/def06.reject.out2
-rw-r--r--testdata/language-features/basic-values/indentation03.reject.out2
-rw-r--r--testdata/language-features/basic-values/infix04.reject.out2
-rw-r--r--testdata/language-features/basic-values/literal01.lc2
-rw-r--r--testdata/language-features/basic-values/literal01.out3
-rw-r--r--testdata/language-features/basic-values/redefine02.reject.out2
-rw-r--r--testdata/language-features/basic-values/redefine03.reject.out2
-rw-r--r--testdata/language-features/basic-values/where02.reject.out2
9 files changed, 9 insertions, 10 deletions
diff --git a/testdata/language-features/basic-values/def05.reject.out b/testdata/language-features/basic-values/def05.reject.out
index 60095f3d..7c6b91ba 100644
--- a/testdata/language-features/basic-values/def05.reject.out
+++ b/testdata/language-features/basic-values/def05.reject.out
@@ -1,4 +1,4 @@
1"testdata/language-features/basic-values/def05.reject.lc" (line 4, column 1): 1"testdata/language-features/basic-values/def05.reject.lc" (line 4, column 1):
2unexpected end of input 2unexpected end of input
3expecting projection, swizzling, "@", char literal, literal string, float literal, "#", natural, "_", "'", identifier, uppercase ident, dotdot expression, List comprehension, "[", "(", "{", "let", symbols, ":", backquoted ident, "::", "~", "->", "=>", "where", "data", "class", "instance", type family, type instance, "type", typed ident, "infix", "infixl", "infixr", operator definition, lhs or pattern 3expecting projection, swizzling, "@", char literal, literal string, float literal, "#", natural, "_", "'", identifier, uppercase ident, dotdot expression, List comprehension, "[", "(", "{", "let", symbols, ":", backquoted ident, expression, lambda, "::", "~", "->", "=>", "where", "data", "class", "instance", type family, type instance, "type", typed ident, "infix", "infixl", "infixr", operator definition, lhs or pattern
4different number of arguments of fun at testdata/language-features/basic-values/def05.reject.lc 1:1-1:4 \ No newline at end of file 4different number of arguments of fun at testdata/language-features/basic-values/def05.reject.lc 1:1-1:4 \ No newline at end of file
diff --git a/testdata/language-features/basic-values/def06.reject.out b/testdata/language-features/basic-values/def06.reject.out
index a4fac531..bcf412d2 100644
--- a/testdata/language-features/basic-values/def06.reject.out
+++ b/testdata/language-features/basic-values/def06.reject.out
@@ -1,4 +1,4 @@
1"testdata/language-features/basic-values/def06.reject.lc" (line 5, column 1): 1"testdata/language-features/basic-values/def06.reject.lc" (line 5, column 1):
2unexpected end of input 2unexpected end of input
3expecting projection, swizzling, "@", char literal, literal string, float literal, "#", natural, "_", "'", identifier, uppercase ident, dotdot expression, List comprehension, "[", "(", "{", "let", symbols, ":", backquoted ident, "::", "~", "->", "=>", "where", "data", "class", "instance", type family, type instance, "type", typed ident, "infix", "infixl", "infixr", operator definition, lhs or pattern 3expecting projection, swizzling, "@", char literal, literal string, float literal, "#", natural, "_", "'", identifier, uppercase ident, dotdot expression, List comprehension, "[", "(", "{", "let", symbols, ":", backquoted ident, expression, lambda, "::", "~", "->", "=>", "where", "data", "class", "instance", type family, type instance, "type", typed ident, "infix", "infixl", "infixr", operator definition, lhs or pattern
4different number of arguments of fun2 at testdata/language-features/basic-values/def06.reject.lc 1:1-1:5 \ No newline at end of file 4different number of arguments of fun2 at testdata/language-features/basic-values/def06.reject.lc 1:1-1:5 \ No newline at end of file
diff --git a/testdata/language-features/basic-values/indentation03.reject.out b/testdata/language-features/basic-values/indentation03.reject.out
index 2d7eeedb..e4d1b181 100644
--- a/testdata/language-features/basic-values/indentation03.reject.out
+++ b/testdata/language-features/basic-values/indentation03.reject.out
@@ -1,3 +1,3 @@
1"testdata/language-features/basic-values/indentation03.reject.lc" (line 2, column 11): 1"testdata/language-features/basic-values/indentation03.reject.lc" (line 2, column 11):
2unexpected reserved operator "=" 2unexpected reserved operator "="
3expecting symbols \ No newline at end of file 3expecting symbols or lambda \ No newline at end of file
diff --git a/testdata/language-features/basic-values/infix04.reject.out b/testdata/language-features/basic-values/infix04.reject.out
index 9efba6ec..92ba823f 100644
--- a/testdata/language-features/basic-values/infix04.reject.out
+++ b/testdata/language-features/basic-values/infix04.reject.out
@@ -1,3 +1,3 @@
1"testdata/language-features/basic-values/infix04.reject.lc" (line 3, column 19): 1"testdata/language-features/basic-values/infix04.reject.lc" (line 3, column 19):
2unexpected "(" 2unexpected "("
3expecting backquoted ident \ No newline at end of file 3expecting backquoted ident or lambda \ No newline at end of file
diff --git a/testdata/language-features/basic-values/literal01.lc b/testdata/language-features/basic-values/literal01.lc
index 5180ae8a..9f886274 100644
--- a/testdata/language-features/basic-values/literal01.lc
+++ b/testdata/language-features/basic-values/literal01.lc
@@ -10,4 +10,4 @@ charValue = 'A'
10stringValue1 = "Hello World" 10stringValue1 = "Hello World"
11stringValue2 = "\nHello\32World\tagain!\r\n" 11stringValue2 = "\nHello\32World\tagain!\r\n"
12 12
13natValue = #1234 13natValue = '1234
diff --git a/testdata/language-features/basic-values/literal01.out b/testdata/language-features/basic-values/literal01.out
index 6e617798..bba02e5b 100644
--- a/testdata/language-features/basic-values/literal01.out
+++ b/testdata/language-features/basic-values/literal01.out
@@ -13,5 +13,4 @@ testdata/language-features/basic-values/literal01.lc 10:1-10:13 String
13testdata/language-features/basic-values/literal01.lc 10:16-10:29 String 13testdata/language-features/basic-values/literal01.lc 10:16-10:29 String
14testdata/language-features/basic-values/literal01.lc 11:1-11:13 String 14testdata/language-features/basic-values/literal01.lc 11:1-11:13 String
15testdata/language-features/basic-values/literal01.lc 11:16-11:45 String 15testdata/language-features/basic-values/literal01.lc 11:16-11:45 String
16testdata/language-features/basic-values/literal01.lc 13:1-13:9 Int 16testdata/language-features/basic-values/literal01.lc 13:1-13:9 Nat
17testdata/language-features/basic-values/literal01.lc 13:12-13:17 Int
diff --git a/testdata/language-features/basic-values/redefine02.reject.out b/testdata/language-features/basic-values/redefine02.reject.out
index b990ab72..ea5e22e1 100644
--- a/testdata/language-features/basic-values/redefine02.reject.out
+++ b/testdata/language-features/basic-values/redefine02.reject.out
@@ -1,3 +1,3 @@
1"testdata/language-features/basic-values/redefine02.reject.lc" (line 3, column 9): 1"testdata/language-features/basic-values/redefine02.reject.lc" (line 3, column 9):
2expecting identifier, uppercase ident, typed ident, operator definition, lhs or pattern 2expecting expression
3Invalid indentation. Found a token at indentation 8. Expecting a token at an indentation greater than or equal to 13.IndentStream {indentationState = IndentationState {minIndentation = 13, maxIndentation = 14, absMode = False, tokenRel = Ge}, tokenStream = ""} or Invalid indentation. Found a token at indentation 8. Expecting a token at an indentation greater than or equal to 12.IndentStream {indentationState = IndentationState {minIndentation = 12, maxIndentation = 12, absMode = False, tokenRel = Ge}, tokenStream = ""} \ No newline at end of file 3Invalid indentation. Found a token at indentation 8. Expecting a token at an indentation greater than or equal to 13.IndentStream {indentationState = IndentationState {minIndentation = 13, maxIndentation = 14, absMode = False, tokenRel = Ge}, tokenStream = ""} or Invalid indentation. Found a token at indentation 8. Expecting a token at an indentation greater than or equal to 12.IndentStream {indentationState = IndentationState {minIndentation = 12, maxIndentation = 12, absMode = False, tokenRel = Ge}, tokenStream = ""} \ No newline at end of file
diff --git a/testdata/language-features/basic-values/redefine03.reject.out b/testdata/language-features/basic-values/redefine03.reject.out
index a4e20764..31468c1e 100644
--- a/testdata/language-features/basic-values/redefine03.reject.out
+++ b/testdata/language-features/basic-values/redefine03.reject.out
@@ -1,4 +1,4 @@
1"testdata/language-features/basic-values/redefine03.reject.lc" (line 4, column 1): 1"testdata/language-features/basic-values/redefine03.reject.lc" (line 4, column 1):
2unexpected end of input 2unexpected end of input
3expecting projection, swizzling, "@", char literal, literal string, float literal, "#", natural, "_", "'", identifier, uppercase ident, dotdot expression, List comprehension, "[", "(", "{", "let", symbols, ":", backquoted ident, "::", "~", "->", "=>", "where", "data", "class", "instance", type family, type instance, "type", typed ident, "infix", "infixl", "infixr", operator definition, lhs or pattern 3expecting projection, swizzling, "@", char literal, literal string, float literal, "#", natural, "_", "'", identifier, uppercase ident, dotdot expression, List comprehension, "[", "(", "{", "let", symbols, ":", backquoted ident, expression, lambda, "::", "~", "->", "=>", "where", "data", "class", "instance", type family, type instance, "type", typed ident, "infix", "infixl", "infixr", operator definition, lhs or pattern
4redefined x at testdata/language-features/basic-values/redefine03.reject.lc 2:9-2:10 \ No newline at end of file 4redefined x at testdata/language-features/basic-values/redefine03.reject.lc 2:9-2:10 \ No newline at end of file
diff --git a/testdata/language-features/basic-values/where02.reject.out b/testdata/language-features/basic-values/where02.reject.out
index 2d4cf109..186eee42 100644
--- a/testdata/language-features/basic-values/where02.reject.out
+++ b/testdata/language-features/basic-values/where02.reject.out
@@ -1,3 +1,3 @@
1"testdata/language-features/basic-values/where02.reject.lc" (line 4, column 6): 1"testdata/language-features/basic-values/where02.reject.lc" (line 4, column 6):
2unexpected reserved operator "=" 2unexpected reserved operator "="
3expecting symbols \ No newline at end of file 3expecting symbols or lambda \ No newline at end of file