aboutsummaryrefslogtreecommitdiff
path: root/src/testsuite/compiler/1872564.spad
blob: 505a10b3ef150ba91ee33195d3a0ac66f3ba54b9 (plain)
1
2
3
4
5
6
7
++ Contributed by Luke Wagner
++ Issue: The compiler should allow pretend from Union types.
)abbrev package TEST Test
Test() : with
    foo : Union(Integer, Float) -> SExpression
  == add
    foo u == u pretend SExpression