aboutsummaryrefslogtreecommitdiffstats
path: root/test-files/mds-kbdc/validate-tree/invalid/function-assumption
blob: 3ebe83e8f79745a025f69e892b84f1ebec59552c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
function f/0
  assumption
  end assumption
end function

# (function (@ 1 0-8) ‘f/0’
#   (.inner
#     (assumption (@ 2 2-12)
#       (.inner nil)
#     )
#   )
# )
# :2:2–12: error: assumption clause inside function definition
#    assumption
#    ^^^^^^^^^^
# :1:0–8: note: outer function definition defined here
#  function f/0
#  ^^^^^^^^