google / google/j2objc

Duplicated member variable

Open
#907 1 comment 0 reactions 1 assignee Claimed by @tomball View on GitHub
Dominant language
Java
Stars
6k
Forks
999
Avg merge
19h 20m
Merged PRs (30d)
14

Description

imagine we have a Java class:
```
public class Foo {
int mBar;
}
```

and we have another class inherited from Foo:
```
public class SubFoo extends Foo {
int mBar;
}
```

Java compiles without any problem, however after j2objc translation, the result OC code cannot compile due to duplicated member variable: mBar;

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.