aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/edlin.erl
diff options
context:
space:
mode:
authorPéter Gömöri <[email protected]>2016-10-13 23:02:37 +0200
committerPéter Gömöri <[email protected]>2016-10-13 23:12:32 +0200
commit8db6c68b2d748e4a72445959f205d8d6c4dd18ed (patch)
tree4788407e98b6f886af1cbc720612ffbd4ce16851 /lib/stdlib/src/edlin.erl
parent9c013e2f9f7e32de38dc9640038aee1840d68e04 (diff)
downloadotp-8db6c68b2d748e4a72445959f205d8d6c4dd18ed.tar.gz
otp-8db6c68b2d748e4a72445959f205d8d6c4dd18ed.tar.bz2
otp-8db6c68b2d748e4a72445959f205d8d6c4dd18ed.zip
dbg:fun2ms: allow empty list as head
Running 'dbg:fun2ms(fun([]) -> return_trace() end' resulted in an error "dbg:fun2ms requires fun with single variable or list parameter" But the empty list is actually a list and it is a valid value as a match-spec head (matching on arity-0 functions). Although its practical use is questionable this commit eliminates a small limitation of ms_transform which is not present in the match-spec grammar.
Diffstat (limited to 'lib/stdlib/src/edlin.erl')
0 files changed, 0 insertions, 0 deletions