dart-lang / dart-lang/language

Problem: Existing interfaces with generic types may be only partially supportable with nullable types

Open
#275 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
TeX
Stars
2.9k
Forks
239
Avg merge
2d 18h
Merged PRs (30d)
14

Description

Concrete example: `List(1);` is safe, but `List(1)` will most likely need to throw at runtime because `[null]` is not a `List` with NNBD. `List.filled(1, 0);` would be safe.

Contributor guide

Open the contributing guide

Research direction

Start with the concrete `List` and `List` examples in the issue and review the language specification areas covering NNBD and generic interface types. Done would require a decided, specified treatment of partially supportable nullable generic interfaces, including the runtime behavior for the examples; no files or tests are named.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.