We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider the following Java classes:
abstract class A { public A methodA() { ... } public void methodB(A param1) { ... } }
package com.example; class B extends A { public B methodA() { ... } public void methodB(B param1) { ... } }
And the code that extends class B in JavaScript/TypeScript/Angular:
const MyClass = com.example.B("com.example.MyClass", { ...... });
The generated output of the above will be a Java class similar to this:
package com.example; class MyClass extends com.example.B implements com.tns.NativeScriptHashCodeProvider { public MyClass() { ... } public B methodA() { ... } public void methodB(B param1) { ... } public A methodA() { ... } public void methodB(A param1) { ... } // ... NativeScriptHashCodeProvider methods }
Expected output:
package com.example; class MyClass extends com.example.B implements com.tns.NativeScriptHashCodeProvider { public MyClass() { ... } public B methodA() { ... } public void methodB(B param1) { ... } // ... NativeScriptHashCodeProvider methods }
The generated class will error out during compilation stating that there is already a method with the same signature (because B extends A).
Versions: tns-android: 3.0.0-rc.1
3.0.0-rc.1
The text was updated successfully, but these errors were encountered:
Merge pull request #754 from NativeScript/pete/fix-sbg
ce5d00f
Fix SBG (#753) and string replacement
Addressed in PR #754
Sorry, something went wrong.
petekanev
No branches or pull requests
Problem:
Consider the following Java classes:
And the code that extends class B in JavaScript/TypeScript/Angular:
The generated output of the above will be a Java class similar to this:
Expected output:
The generated class will error out during compilation stating that there is already a method with the same signature (because B extends A).
Versions:
tns-android:
3.0.0-rc.1
The text was updated successfully, but these errors were encountered: