diff options
author | Hans Bolinder <[email protected]> | 2017-06-28 14:24:10 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2017-07-06 17:53:22 +0200 |
commit | 6743a66249bbdb91a0f578e12f6e7a4a258e6993 (patch) | |
tree | f36681363b22644492d7b64147e16b58ae324592 /lib/syntax_tools/src/merl_transform.erl | |
parent | 32e5e2ae31e02d44ead73613eea1a25541819cce (diff) | |
download | otp-6743a66249bbdb91a0f578e12f6e7a4a258e6993.tar.gz otp-6743a66249bbdb91a0f578e12f6e7a4a258e6993.tar.bz2 otp-6743a66249bbdb91a0f578e12f6e7a4a258e6993.zip |
syntax_tools: Do not use deprecated functions in string(3)
Diffstat (limited to 'lib/syntax_tools/src/merl_transform.erl')
-rw-r--r-- | lib/syntax_tools/src/merl_transform.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/syntax_tools/src/merl_transform.erl b/lib/syntax_tools/src/merl_transform.erl index b298bc407f..571d7e4d86 100644 --- a/lib/syntax_tools/src/merl_transform.erl +++ b/lib/syntax_tools/src/merl_transform.erl @@ -196,7 +196,7 @@ var_name(V) -> V. var_to_tag(V) when is_integer(V) -> V; var_to_tag(V) -> - list_to_atom(string:to_lower(atom_to_list(V))). + list_to_atom(string:lowercase(atom_to_list(V))). pre_expand_case(Expr, Clauses, Line) -> merl:qquote(Line, "merl:switch(_@expr, _@clauses)", |