aboutsummaryrefslogtreecommitdiffstats
path: root/test-files/mds-kbdc/simplify-tree/valid/multiple_nothing_alternation_in_macro_call
blob: 43ad4a1577e3b80f4a5ab13265cab6b04ef24cc6 (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
27
28
29
30
31
32
33
34
my_macro([1 . . . 2])

# (macro_call (@ 1 0-8) ‘my_macro/1’
#   (.arguments
#     (string (@ 1 10-11) ‘1’)
#   )
# )
# (macro_call (@ 1 0-8) ‘my_macro/0’
#   (.arguments nil)
# )
# (macro_call (@ 1 0-8) ‘my_macro/0’
#   (.arguments nil)
# )
# (macro_call (@ 1 0-8) ‘my_macro/0’
#   (.arguments nil)
# )
# (macro_call (@ 1 0-8) ‘my_macro/1’
#   (.arguments
#     (string (@ 1 18-19) ‘2’)
#   )
# )
# :1:14–15: warning: multiple ‘.’ inside an alternation
#  my_macro([1 . . . 2])
#                ^
# :1:12–13: note: first ‘.’ was here
#  my_macro([1 . . . 2])
#              ^
# :1:16–17: warning: multiple ‘.’ inside an alternation
#  my_macro([1 . . . 2])
#                  ^
# :1:12–13: note: first ‘.’ was here
#  my_macro([1 . . . 2])
#              ^