Idris2/tests/idris2/perror007/expected

100 lines
2.2 KiB
Plaintext
Raw Normal View History

2021-02-20 12:59:06 +03:00
1/1: Building StrError1 (StrError1.idr)
2021-02-18 16:07:22 +03:00
Error: Expected 'case', 'if', 'do', application or operator expression.
2021-02-20 12:59:06 +03:00
StrError1.idr:2:24--2:25
2021-02-18 16:07:22 +03:00
1 | foo : String
2 | foo = "empty interp: \{}"
^
2021-02-20 12:59:06 +03:00
1/1: Building StrError2 (StrError2.idr)
2021-02-18 16:07:22 +03:00
Error: Expected 'case', 'if', 'do', application or operator expression.
2021-02-20 12:59:06 +03:00
StrError2.idr:2:19--2:20
2021-02-18 16:07:22 +03:00
1 | foo : String
2 | foo = "nested: \{ " \{ 1 + } " }"
^
2021-02-20 12:59:06 +03:00
1/1: Building StrError3 (StrError3.idr)
2021-02-18 16:07:22 +03:00
Error: Expected 'case', 'if', 'do', application or operator expression.
2021-02-20 12:59:06 +03:00
StrError3.idr:2:7--2:8
2021-02-18 16:07:22 +03:00
1 | foo : String
2 | foo = "incomplete: \{ a <+> }"
^
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
2021-02-22 21:10:57 +03:00
StrError4.idr: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)
Error: While processing multi-line string. Indentation not enough.
2021-02-20 12:59:06 +03:00
2021-02-22 21:10:57 +03:00
StrError5.idr: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
2021-02-22 21:10:57 +03:00
StrError6.idr: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
2021-02-22 21:10:57 +03:00
StrError7.idr: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
2021-02-22 21:10:57 +03:00
StrError8.idr: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)
Error: While processing multi-line string. Unexpected interpolation in the last line.
2021-02-20 12:59:06 +03:00
StrError9.idr:3:1--3:11
1 | foo : String
2 | foo = """
3 | \{"hello"}"""
^^^^^^^^^^
1/1: Building StrError10 (StrError10.idr)
Error: While processing multi-line string. Unexpected character in the last line.
2021-02-20 12:59:06 +03:00
2021-02-22 21:10:57 +03:00
StrError10.idr:3:1--3:2
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 """.
2021-02-22 21:10:57 +03:00
StrError11.idr:4:1--4:2
1 | foo : String
2 | foo = "a
3 | "
2021-02-22 21:10:57 +03:00
^
1/1: Building StrError12 (StrError12.idr)
Error: While processing multi-line string. Indentation not enough.
StrError12.idr:3:1--3:3
1 | foo : String
2 | foo = """
3 | \{show 1}
^^