aboutsummaryrefslogtreecommitdiffstats
path: root/test-files/mds-kbdc/simplify-tree/invalid/map_from_nothingness_by_emptyness
blob: 22f682449439c32a4518e333279d3f785039e4ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
() : 1
[] : 2

# (map (@ 1 0-0)
#   (.sequence
#     (nothing (@ 1 0-1))
#   )
#   (.result
#     (string (@ 1 5-6) ‘1’)
#   )
# )
# (map (@ 2 0-0)
#   (.sequence
#     (nothing (@ 2 0-1))
#   )
#   (.result
#     (string (@ 2 5-6) ‘2’)
#   )
# )
# :1:0–1: error: empty unordered subsequence
#  () : 1
#  ^
# :2:0–1: error: empty alternation
#  [] : 2
#  ^