Skip to content

Commit 179d097

Browse files
committed
Make singleton_inference validator test not use a LC
Still triggers the same type conflict bug.
1 parent f3d0d0f commit 179d097

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/compiler/test/beam_validator_SUITE_data/singleton_inference.erl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,8 @@
33

44
test() ->
55
{'EXIT',{{badmatch,true}, _}} =
6-
catch [0 || (X = (true or (X = is_port(node()))))],
6+
catch case X = (true or (X = is_port(node()))) of
7+
true -> 1;
8+
false -> 0
9+
end,
710
ok.

0 commit comments

Comments
 (0)