Skip to content

Commit

Permalink
lib: remove, NYI: REGRESSION
Browse files Browse the repository at this point in the history
  • Loading branch information
michaellilltokiwa committed Sep 9, 2024
1 parent 66a8a67 commit eb483e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/switch.fz
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ is
#
public get
pre
safety: (switch.this??) # NYI: REGRESSION: parantheses currently necessary, due to PR #2572
safety: switch.this??
=>
switch.this ? a A => a
| B => fuzion.std.panic "switch.get called on B. Enable `safety` to obtain a precondition failure for debugging."
Expand All @@ -89,7 +89,7 @@ is
#
public val A
pre
safety: (switch.this??) # NYI: REGRESSION: parantheses currently necessary, due to PR #2572
safety: switch.this??
=>
switch.this ? a A => a
| B => panic "switch.val called on B. Enable `safety` to obtain a precondition failure for debugging."
Expand Down

0 comments on commit eb483e4

Please sign in to comment.