[erlang-bugs] R16A: tuple funs still work in the shell

Loïc Hoguin essen@REDACTED
Wed Jan 30 17:01:54 CET 2013


README says:

   OTP-10170  Tuple funs (deprecated in R15B) are no longer supported.

However in the shell:

4> {lists,seq}(1,100).
[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,
  23,24,25,26,27,28,29|...]

It's properly removed in a compiled module:

2> test:t().
** exception error: bad function {lists,seq}
      in function  test:t/0 (test.erl, line 5)

-- 
Loïc Hoguin
Erlang Cowboy
Nine Nines
http://ninenines.eu



More information about the erlang-bugs mailing list