Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make iolist_size() work for iolists containing non-pure lists.

  • Loading branch information...
commit 753257a56b5857a7a72c344009e43558f4072bd0 1 parent 2d0aec6
@eriksoe eriksoe authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/java/erjang/m/erlang/ErlBif.java
View
4 src/main/java/erjang/m/erlang/ErlBif.java
@@ -178,8 +178,8 @@ static ESmall iolist_size(EObject val) {
}
- ESeq seq;
- if ((seq = val.testSeq()) == null) {
+ ECons seq;
+ if ((seq = val.testCons()) == null) {
throw ERT.badarg(val);
}
Please sign in to comment.
Something went wrong with that request. Please try again.