We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6d35b8 commit 9569279Copy full SHA for 9569279
src/yconf.erl
@@ -991,7 +991,7 @@ to_atom(B) when is_binary(B) ->
991
try binary_to_atom(B, latin1)
992
catch _:system_limit -> fail({bad_length, 255})
993
end;
994
-to_atom(L) when is_list(L) ->
+to_atom([_|Rest] = L) when is_list(Rest) ->
995
try list_to_atom(L)
996
997
0 commit comments