dart-lang / dart-lang/native

Multilevel deep nested generic classes support

Open
#713 2 comments 0 reactions 0 assignees View on GitHub
package:jni package:jnigen
Dominant language
Dart
Stars
275
Forks
144
Avg merge
2d 10h
Merged PRs (30d)
47

Description

Currently we don't support identifying specific type for nested classes, like so:

```java
public class GrandParent {
public Parent.Child stringAllTheWay() {
var parent = new Parent(value, "Hello");
return parent.new Child(value, "Hello", "World");
}
// ...
}
```

This will work though:

```java
public Parent.Child stringChild(S nestedValue) {
var parent = new Parent(value, nestedValue);
return parent.new Child(value, nestedValue, "World");
}
```

The summarizer must be updated to include these information. Related to dart-lang/native#706.

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.