-
Notifications
You must be signed in to change notification settings - Fork 224
Open
Labels
featureProposed language feature that solves one or more problemsProposed language feature that solves one or more problems
Description
I read https://github.com/dart-lang/language/blob/main/working/union-types/nominative-union-types.md, and see the proposed syntax is something like:
typedef UrlThingy = Url | String;
Future<Response> get(UrlThingy url) async {
...
}
Could we just do:
Future<Response> get(Url | String url) async {
...
}
albertms10, Wdestroier, Reprevise, rubenferreira97, nate-thegrate and 26 morebivens-dev, AlexanderFarkas and ykmnkmitejainece and II11IIhasanmhallak and II11IIhasanmhallak and II11II
Metadata
Metadata
Assignees
Labels
featureProposed language feature that solves one or more problemsProposed language feature that solves one or more problems