Skip to content

Commit

Permalink
[truffle] Correct confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
pmurias committed Jun 28, 2018
1 parent da28c6f commit aa42aa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nqp-truffle.nqp
Expand Up @@ -252,7 +252,7 @@ class QAST::TruffleCompiler {

if $desired == $STR {
if $got == $INT {
return TAST.new($OBJ, ['coerce-int-to-num', $tast.tree]);
return TAST.new($OBJ, ['coerce-int-to-str', $tast.tree]);
}
}

Expand Down

0 comments on commit aa42aa3

Please sign in to comment.