diff options
author | Björn Gustavsson <[email protected]> | 2012-12-06 14:14:07 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2012-12-06 14:14:07 +0100 |
commit | ca3b66e3d2c734e8715c7ed078e4fa9ae10462de (patch) | |
tree | cbb1f4a8d034b09813453ae9f20a4d5465249fc8 /erts/emulator/test | |
parent | 5b40d5502f008f9c44bc4a3bd9037439e35ce0a7 (diff) | |
parent | 0b73bb47674574e3e449d780c5704b02b15a8e07 (diff) | |
download | otp-ca3b66e3d2c734e8715c7ed078e4fa9ae10462de.tar.gz otp-ca3b66e3d2c734e8715c7ed078e4fa9ae10462de.tar.bz2 otp-ca3b66e3d2c734e8715c7ed078e4fa9ae10462de.zip |
Merge branch 'bjorn/remove-tuple-funs/OTP-10170'
* bjorn/remove-tuple-funs/OTP-10170:
erl_expand_records: Remove stale support for literal tuple funs
Teach is_function/2 that tuples are not funs
Diffstat (limited to 'erts/emulator/test')
-rw-r--r-- | erts/emulator/test/fun_SUITE.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/test/fun_SUITE.erl b/erts/emulator/test/fun_SUITE.erl index ef06845cf2..36ba4e0f48 100644 --- a/erts/emulator/test/fun_SUITE.erl +++ b/erts/emulator/test/fun_SUITE.erl @@ -726,8 +726,8 @@ t_arity(Config) when is_list(Config) -> ok. t_is_function2(Config) when is_list(Config) -> - ?line true = is_function({a,b}, 0), - ?line true = is_function({a,b}, 234343434333433433), + false = is_function(id({a,b}), 0), + false = is_function(id({a,b}), 234343434333433433), ?line true = is_function(fun() -> ok end, 0), ?line true = is_function(fun(_) -> ok end, 1), ?line false = is_function(fun(_) -> ok end, 0), |