Replies: 2 comments 3 replies
-
It should be possible to quote identifiers automatically during the bindgen. Can you please provide a minimal sample of the Scala code that causes this issue. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I assume you are working on the 1.2.x Ballerina version. Could you also please confirm the Ballerina version you are using? Like @manuranga said these reserved words should ideally be quoted through the bindgen tool. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm fairly new to Ballerina, and I'm trying to see if I can use it for a project which depends on a couple of Scala Libraries I've written. I've been trying to test for interoperability, however bindgen doesn't seem to want to cooperate.
I tried to generate bindings for the Scala Console object so that I could make a simple 'Hello World' program, and this was the output:
Console log
I suspect this is due to
in
being a reserved word or something? I suspect you could get around this with quoted identifiers but is there an easier way to do that without changing each instance manually?Beta Was this translation helpful? Give feedback.
All reactions