diff options
author | Kostis Sagonas <[email protected]> | 2010-10-06 01:16:19 +0300 |
---|---|---|
committer | Kostis Sagonas <[email protected]> | 2010-10-06 01:16:19 +0300 |
commit | e041319e4a4c451c5ec090d2ea64f545aeaadb78 (patch) | |
tree | 03ceb0079e7624d11fbdda5c7124819082ff6f15 /lib/hipe/rtl/hipe_rtl.erl | |
parent | 3cfec17ff7aff97c5ec862a8b9e97d245849f9c3 (diff) | |
download | otp-e041319e4a4c451c5ec090d2ea64f545aeaadb78.tar.gz otp-e041319e4a4c451c5ec090d2ea64f545aeaadb78.tar.bz2 otp-e041319e4a4c451c5ec090d2ea64f545aeaadb78.zip |
Avoid errors for a badly formed export_type declarations
In the following program, erl_lint crashed with an erl_lint internal error.
With this patch it does not, but prints "bad export_type declaration" errors
instead.
-module(baz).
-export([test/0]).
-export_type(t/0).
-export_type([3.14]).
-type t() :: any().
test() -> 42.
Diffstat (limited to 'lib/hipe/rtl/hipe_rtl.erl')
0 files changed, 0 insertions, 0 deletions