aboutsummaryrefslogblamecommitdiffstats
path: root/test-files/mds-kbdc/validate-tree/invalid/function-map
blob: fbf1968b9e0ac7446cbb8ac927d646ee1366e6a7 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                
                                                                
                                  
                                 

     
function f/0
  <dead compose> "a" "e" : "æ"
end function

# (function (@ 1 0-8) ‘f/0’
#   (.inner
#     (map (@ 2 2-2)
#       (.sequence
#         (keys (@ 2 2-16) ‘<dead compose>’)
#         (string (@ 2 17-20) ‘"a"’)
#         (string (@ 2 21-24) ‘"e"’)
#       )
#       (.result
#         (string (@ 2 27-31) ‘"æ"’)
#       )
#     )
#   )
# )
# :2:2–30: error: mapping-statement inside function definition
#    <dead compose> "a" "e" : "æ"
#    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#