diff options
author | Björn Gustavsson <[email protected]> | 2019-07-30 08:34:51 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2019-07-30 10:26:27 +0200 |
commit | 773e3d0f4a2d978a7ec6be9ed639eb1941d92d6c (patch) | |
tree | 8c0d1885170d467ca142ca1fb04495821e8908d1 /system | |
parent | 478488a2e75e8e73b8dfc7b6f22fd1f0bfbc04eb (diff) | |
download | otp-773e3d0f4a2d978a7ec6be9ed639eb1941d92d6c.tar.gz otp-773e3d0f4a2d978a7ec6be9ed639eb1941d92d6c.tar.bz2 otp-773e3d0f4a2d978a7ec6be9ed639eb1941d92d6c.zip |
Fix compiler crash when compiling with +no_type_opt
If the `no_type_opt` option was given, the compiler would crash when
attempting to compile containing with a `try`...`after` construct,
such as this code:
foo() ->
try
make_ref()
after
ok
end.
To avoid having this bug re-appear, test the `no_type_opt` option
in the test suites.
https://bugs.erlang.org/browse/ERL-997
Diffstat (limited to 'system')
0 files changed, 0 insertions, 0 deletions