Closed hasithaa closed 2 weeks ago
Bindgen tool generates a code with compilation errors.
bal bindgen -mvn com.github.jknack:handlebars:4.3.1 --public com.github.jknack.handlebars.Handlebars com.github.jknack.handlebars.Template
Compiling source hasitha/test:0.1.0 ERROR [modules/com.github.jknack.handlebars/Template.bal:(41:20,41:46)] incompatible types: expected '(string|hasitha/test.java.io:0.1.0:IOException)', found 'string?' ERROR [modules/com.github.jknack.handlebars/Template.bal:(68:20,68:46)] incompatible types: expected '(string|hasitha/test.java.io:0.1.0:IOException)', found 'string?' error: compilation contains errors
Update9 RC1
No response
-> Bindgen Tool
This is happening in 2201.8.6 as well
2201.8.6
@hasithaa @keizer619 Ack. I'll look into this and, will update with the progress.
Description
Bindgen tool generates a code with compilation errors.
Steps to Reproduce
bal bindgen -mvn com.github.jknack:handlebars:4.3.1 --public com.github.jknack.handlebars.Handlebars com.github.jknack.handlebars.Template
Affected Version(s)
Update9 RC1
OS, DB, other environment details and versions
No response
Related area
-> Bindgen Tool
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response