[graalvm-users] RC6 to_s behavior changed
Rodrigo Botafogo
rodrigo.a.botafogo at gmail.com
Thu Sep 13 08:36:47 PDT 2018
Hello...
In rc5 with the following code:
p1 = Polyglot.eval("R", 'as.formula').call("medv ~ lstat + age")
p p1
p p1.to_s
I get the following result:
#<Truffle::Interop::Foreign at 2a984952>
"language(medv ~ lstat + age)"
in rc6, the same code prints:
#<Foreign [#<Foreign:0x49d979c4>, #<Foreign:0x3ba5c4dd>, #<Foreign
[#<Foreign:0x47fca3cc>, #<Foreign:0x55746340>, #<Foreign:0x6a0c7af6>]>]>
"#<Foreign [#<Foreign:0x49d979c4>, #<Foreign:0x3ba5c4dd>, #<Foreign
[#<Foreign:0x47fca3cc>, #<Foreign:0x55746340>, #<Foreign:0x6a0c7af6>]>]>"
The old behavior is preferred, if possible.
Thanks
--
Rodrigo Botafogo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/graalvm-users/attachments/20180913/e28a1484/attachment.html
More information about the GraalVM-Users
mailing list