Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 271 Bytes

4032.md

File metadata and controls

19 lines (14 loc) · 271 Bytes

4032

The right-hand side of an exception copy declaration must be a path, not an arbitrary expression.

exception A
fun get () = A
exception B = get ()
(**           ^^^^^^ must be a path *)

To fix

Use a path.

exception A
exception B = A