This is OK: ``` #lang rhombus fun foo(~x): x ``` This is not OK: ``` #lang rhombus fun foo(~x :: Number): x ``` which produces the error: ``` #%literal: not an allowed literal term in: ~x ```
This is OK:
This is not OK:
which produces the error: