Idris2/tests/idris2/perror007/expected

102 lines
2.4 KiB
Plaintext
Raw Normal View History

2021-02-20 12:59:06 +03:00
1/1: Building StrError1 (StrError1.idr)
2021-07-13 09:25:49 +03:00
Error: Couldn't parse any alternatives:
1: Expected 'case', 'if', 'do', application or operator expression.
2021-02-18 16:07:22 +03:00
StrError1:2:24--2:25
2021-02-18 16:07:22 +03:00
1 | foo : String
2 | foo = "empty interp: \{}"
^
... (41 others)
2021-02-20 12:59:06 +03:00
1/1: Building StrError2 (StrError2.idr)
2021-07-13 09:25:49 +03:00
Error: Couldn't parse any alternatives:
1: Expected 'case', 'if', 'do', application or operator expression.
StrError2:2:19--2:20
1 | foo : String
2 | foo = "nested: \{ " \{ 1 + } " }"
^
... (30 others)
2021-02-20 12:59:06 +03:00
1/1: Building StrError3 (StrError3.idr)
2021-07-13 09:25:49 +03:00
Error: Couldn't parse any alternatives:
1: Expected 'case', 'if', 'do', application or operator expression.
2021-02-18 16:07:22 +03:00
StrError3:2:7--2:8
2021-02-18 16:07:22 +03:00
1 | foo : String
2 | foo = "incomplete: \{ a <+> }"
^
... (31 others)
2021-02-20 12:59:06 +03:00
1/1: Building StrError4 (StrError4.idr)
2021-02-22 21:10:57 +03:00
Error: Bracket is not properly closed.
2021-02-20 12:59:06 +03:00
StrError4:2:7--2:8
2021-02-20 12:59:06 +03:00
1 | foo : String
2 | foo = """"""
2021-02-22 21:10:57 +03:00
^
2021-02-20 12:59:06 +03:00
1/1: Building StrError5 (StrError5.idr)
2021-02-25 13:43:42 +03:00
Error: While processing multi-line string. Line is less indented than the closing delimiter.
2021-02-20 12:59:06 +03:00
StrError5:3:1--4:5
2021-02-20 12:59:06 +03:00
3 | a
4 | """
1/1: Building StrError6 (StrError6.idr)
2021-02-22 21:10:57 +03:00
Error: Bracket is not properly closed.
2021-02-20 12:59:06 +03:00
StrError6:2:7--2:8
1 | foo : String
2021-02-20 12:59:06 +03:00
2 | foo = """a
2021-02-22 21:10:57 +03:00
^
2021-02-20 12:59:06 +03:00
1/1: Building StrError7 (StrError7.idr)
2021-02-22 21:10:57 +03:00
Error: Bracket is not properly closed.
2021-02-20 12:59:06 +03:00
StrError7:2:7--2:8
2021-02-20 12:59:06 +03:00
1 | foo : String
2 | foo = """a"""
2021-02-22 21:10:57 +03:00
^
2021-02-20 12:59:06 +03:00
1/1: Building StrError8 (StrError8.idr)
2021-02-22 21:10:57 +03:00
Error: Bracket is not properly closed.
2021-02-20 12:59:06 +03:00
StrError8:2:7--2:8
2021-02-20 12:59:06 +03:00
1 | foo : String
2 | foo = """\{"hello"}
2021-02-22 21:10:57 +03:00
^
2021-02-20 12:59:06 +03:00
1/1: Building StrError9 (StrError9.idr)
2021-02-25 13:43:42 +03:00
Error: While processing multi-line string. Closing delimiter of multiline strings cannot be preceded by non-whitespace characters.
2021-02-20 12:59:06 +03:00
StrError9:3:1--3:11
2021-02-20 12:59:06 +03:00
1 | foo : String
2 | foo = """
3 | \{"hello"}"""
^^^^^^^^^^
1/1: Building StrError10 (StrError10.idr)
2021-02-25 13:43:42 +03:00
Error: While processing multi-line string. Closing delimiter of multiline strings cannot be preceded by non-whitespace characters.
2021-02-20 12:59:06 +03:00
StrError10:3:1--3:2
2021-02-22 21:10:57 +03:00
1 | foo : String
2021-02-20 12:59:06 +03:00
2 | foo = """
3 | a"""
2021-02-22 21:10:57 +03:00
^
2021-02-20 12:59:06 +03:00
1/1: Building StrError11 (StrError11.idr)
2021-02-22 21:10:57 +03:00
Error: Multi-line string is expected to begin with """.
StrError11:2:7--2:8
2021-02-22 21:10:57 +03:00
1 | foo : String
2 | foo = "a
^
2021-02-22 21:10:57 +03:00
1/1: Building StrError12 (StrError12.idr)
2021-02-25 13:43:42 +03:00
Error: While processing multi-line string. Line is less indented than the closing delimiter.
2021-02-22 21:10:57 +03:00
StrError12:3:1--3:3
2021-02-22 21:10:57 +03:00
1 | foo : String
2 | foo = """
3 | \{show 1}
^^