diff options
author | Björn Gustavsson <[email protected]> | 2016-09-29 12:37:05 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-09-29 12:37:05 +0200 |
commit | 230c7340bc3328a0a11ad18d5285ea101e34782f (patch) | |
tree | f3f5dea1b4bf0d2b86cfb4b83d5e7a7b6e1c2fcb /lib/compiler/src/v3_kernel.erl | |
parent | 3651c6bb09319bd4e87892dc9ae0e6620a5a3e8d (diff) | |
parent | b8d1855529236e9d8320bff326d30aefae518354 (diff) | |
download | otp-230c7340bc3328a0a11ad18d5285ea101e34782f.tar.gz otp-230c7340bc3328a0a11ad18d5285ea101e34782f.tar.bz2 otp-230c7340bc3328a0a11ad18d5285ea101e34782f.zip |
Merge branch 'josevalim/compiler/at-var/PR-1081/OTP-13924'
* josevalim/compiler/at-var/PR-1081/OTP-13924:
Use @ in variable names generated by core and kernel
Diffstat (limited to 'lib/compiler/src/v3_kernel.erl')
-rw-r--r-- | lib/compiler/src/v3_kernel.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compiler/src/v3_kernel.erl b/lib/compiler/src/v3_kernel.erl index 859f110a53..f8e99905b5 100644 --- a/lib/compiler/src/v3_kernel.erl +++ b/lib/compiler/src/v3_kernel.erl @@ -880,7 +880,7 @@ new_fun_name(Type, #kern{func={F,Arity},fcount=C}=St) -> %% new_var_name(State) -> {VarName,State}. new_var_name(#kern{vcount=C}=St) -> - {list_to_atom("ker" ++ integer_to_list(C)),St#kern{vcount=C+1}}. + {list_to_atom("@k" ++ integer_to_list(C)),St#kern{vcount=C+1}}. %% new_var(State) -> {#k_var{},State}. |