aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/sys.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2019-04-08 11:36:41 +0200
committerHans Bolinder <[email protected]>2019-04-08 11:36:41 +0200
commit0682f0a9b141090caee750bfc34a424a2e0defa2 (patch)
treeddf349a998a51af808e406959792d5d00795161a /lib/stdlib/src/sys.erl
parent6bab8b623ad5352ee5532e3b1864185e976e31d6 (diff)
downloadotp-0682f0a9b141090caee750bfc34a424a2e0defa2.tar.gz
otp-0682f0a9b141090caee750bfc34a424a2e0defa2.tar.bz2
otp-0682f0a9b141090caee750bfc34a424a2e0defa2.zip
stdlib: Fix a bug concerning exception class 'throw'
Since the introduction of the stack trace variable, the Erlang Pretty Printer has left out the exception class 'throw' even when the stack trace variable cannot be left out, which is not correct Erlang code. The fix is to always include the exception class 'throw'. An alternative is to exclude 'throw' exactly when the stack trace variable is '_'.
Diffstat (limited to 'lib/stdlib/src/sys.erl')
0 files changed, 0 insertions, 0 deletions