Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Decode module name for Funs correctly

  • Loading branch information...
commit 3cd7751024e44fc32d428941b06b26488dc1b5f6 1 parent c7c31a9
@krestenkrab krestenkrab authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/main/java/erjang/EFun.java
View
5 src/main/java/erjang/EFun.java
@@ -751,8 +751,9 @@ protected FunID get_id() {
if (cname.startsWith(ERJANG_MODULES_DOT)) {
int last = cname.lastIndexOf('.');
- module = EAtom.intern(cname.substring(ERJANG_MODULES_DOT.length(),
- last));
+ String name = cname.substring(ERJANG_MODULES_DOT.length(),
+ last);
+ module = EAtom.intern(EUtil.decodeJavaName(name));
}
EAtom fun = null;
Please sign in to comment.
Something went wrong with that request. Please try again.