diff options
author | Péter Diviánszky <divipp@gmail.com> | 2016-02-01 13:34:12 +0100 |
---|---|---|
committer | Péter Diviánszky <divipp@gmail.com> | 2016-02-01 13:34:12 +0100 |
commit | 1115ce36a9da07a1ef7a813843ea2777cdc907e2 (patch) | |
tree | 4924866cb3a47d36167ba3eefc369e26e5b743e6 /testdata/language-features/basic-values | |
parent | 528a060fc407d5c9fd9b8af2ebf5265e164c711d (diff) |
bugfix
Diffstat (limited to 'testdata/language-features/basic-values')
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): |
2 | unexpected end of input | 2 | unexpected end of input |
3 | expecting 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 | 3 | expecting 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 |
4 | different number of arguments of fun at testdata/language-features/basic-values/def05.reject.lc 1:1-1:4 \ No newline at end of file | 4 | different 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): |
2 | unexpected end of input | 2 | unexpected end of input |
3 | expecting 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 | 3 | expecting 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 |
4 | different number of arguments of fun2 at testdata/language-features/basic-values/def06.reject.lc 1:1-1:5 \ No newline at end of file | 4 | different 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): |
2 | unexpected reserved operator "=" | 2 | unexpected reserved operator "=" |
3 | expecting symbols \ No newline at end of file | 3 | expecting 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): |
2 | unexpected "(" | 2 | unexpected "(" |
3 | expecting backquoted ident \ No newline at end of file | 3 | expecting 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' | |||
10 | stringValue1 = "Hello World" | 10 | stringValue1 = "Hello World" |
11 | stringValue2 = "\nHello\32World\tagain!\r\n" | 11 | stringValue2 = "\nHello\32World\tagain!\r\n" |
12 | 12 | ||
13 | natValue = #1234 | 13 | natValue = '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 | |||
13 | testdata/language-features/basic-values/literal01.lc 10:16-10:29 String | 13 | testdata/language-features/basic-values/literal01.lc 10:16-10:29 String |
14 | testdata/language-features/basic-values/literal01.lc 11:1-11:13 String | 14 | testdata/language-features/basic-values/literal01.lc 11:1-11:13 String |
15 | testdata/language-features/basic-values/literal01.lc 11:16-11:45 String | 15 | testdata/language-features/basic-values/literal01.lc 11:16-11:45 String |
16 | testdata/language-features/basic-values/literal01.lc 13:1-13:9 Int | 16 | testdata/language-features/basic-values/literal01.lc 13:1-13:9 Nat |
17 | testdata/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): |
2 | expecting identifier, uppercase ident, typed ident, operator definition, lhs or pattern | 2 | expecting expression |
3 | Invalid 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 | 3 | Invalid 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): |
2 | unexpected end of input | 2 | unexpected end of input |
3 | expecting 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 | 3 | expecting 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 |
4 | redefined x at testdata/language-features/basic-values/redefine03.reject.lc 2:9-2:10 \ No newline at end of file | 4 | redefined 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): |
2 | unexpected reserved operator "=" | 2 | unexpected reserved operator "=" |
3 | expecting symbols \ No newline at end of file | 3 | expecting symbols or lambda \ No newline at end of file |