Idris2/tests/idris2/error/perror007/expected
2023-09-07 14:57:22 +01:00

102 lines
2.4 KiB
Plaintext

1/1: Building StrError1 (StrError1.idr)
Error: Couldn't parse any alternatives:
1: Expected 'case', 'if', 'do', application or operator expression.
StrError1:2:24--2:25
1 | foo : String
2 | foo = "empty interp: \{}"
^
... (42 others)
1/1: Building StrError2 (StrError2.idr)
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 + } " }"
^
... (31 others)
1/1: Building StrError3 (StrError3.idr)
Error: Couldn't parse any alternatives:
1: Expected 'case', 'if', 'do', application or operator expression.
StrError3:2:7--2:8
1 | foo : String
2 | foo = "incomplete: \{ a <+> }"
^
... (32 others)
1/1: Building StrError4 (StrError4.idr)
Error: Bracket is not properly closed.
StrError4:2:7--2:8
1 | foo : String
2 | foo = """"""
^
1/1: Building StrError5 (StrError5.idr)
Error: While processing multi-line string. Line is less indented than the closing delimiter.
StrError5:3:1--4:5
3 | a
4 | """
1/1: Building StrError6 (StrError6.idr)
Error: Bracket is not properly closed.
StrError6:2:7--2:8
1 | foo : String
2 | foo = """a
^
1/1: Building StrError7 (StrError7.idr)
Error: Bracket is not properly closed.
StrError7:2:7--2:8
1 | foo : String
2 | foo = """a"""
^
1/1: Building StrError8 (StrError8.idr)
Error: Bracket is not properly closed.
StrError8:2:7--2:8
1 | foo : String
2 | foo = """\{"hello"}
^
1/1: Building StrError9 (StrError9.idr)
Error: While processing multi-line string. Closing delimiter of multiline strings cannot be preceded by non-whitespace characters.
StrError9:3:1--3:11
1 | foo : String
2 | foo = """
3 | \{"hello"}"""
^^^^^^^^^^
1/1: Building StrError10 (StrError10.idr)
Error: While processing multi-line string. Closing delimiter of multiline strings cannot be preceded by non-whitespace characters.
StrError10:3:1--3:2
1 | foo : String
2 | foo = """
3 | a"""
^
1/1: Building StrError11 (StrError11.idr)
Error: Multi-line string is expected to begin with """.
StrError11:2:7--2:8
1 | foo : String
2 | foo = "a
^
1/1: Building StrError12 (StrError12.idr)
Error: While processing multi-line string. Line is less indented than the closing delimiter.
StrError12:3:1--3:3
1 | foo : String
2 | foo = """
3 | \{show 1}
^^