Skip to content

Commit

Permalink
Add macro for reftypediff
Browse files Browse the repository at this point in the history
  • Loading branch information
rossberg committed Sep 19, 2024
1 parent 8bd084b commit 3bff8e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spectec/spec/wasm-3.0/2-syntax-aux.watsup
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def $unpackshape(Lnn X N) = $lunpack(Lnn)

;; Type difference

def $diffrt(reftype, reftype) : reftype hint(show %\%)
def $diffrt(reftype, reftype) : reftype hint(show %\%) hint(macro "reftypediff")

def $diffrt((REF nul1 ht_1), (REF NULL ht_2)) = (REF ht_1)
def $diffrt((REF nul1 ht_1), (REF ht_2)) = (REF nul1 ht_1)
Expand Down

0 comments on commit 3bff8e3

Please sign in to comment.