DEP-non-null
DEP-non-null copied to clipboard
Dart DEP for Non-null Types and Non-null By Default (NNBD)
Wanted to leave this here as a stub, as I don't want to forget to open it. A lot of the language in this DEP revolves around pre-Dart 2 semantics...
In Section [I.3.2](https://github.com/chalin/DEP-non-null/blob/master/doc/dep-non-null-AUTOGENERATED-DO-NOT-EDIT.md#i32-language-evolution), add a reference to the recently opened C# issue https://github.com/dotnet/roslyn/issues/227, _Proposal for non-nullable references (and safe nullable references)_. The hurdles to any form of support for non-null...
I am opening this issue as a place for discussion concerning [B.3.5. Adjusted semantics for “assignment compatible” (⟺)](https://github.com/chalin/DEP-non-null/blob/master/doc/dep-non-null-AUTOGENERATED-DO-NOT-EDIT.md#new-assignment-semantics). cc: @munificent, @gbracha
In "A.2.3 Drop other special semantic provisions for null", you might also want to include the rule that throwing null instead throws the NullThrownError. There is no particular reason for...
Section B.4.5 deals with the syntactic ambiguity of making `!` prefix and having `is!`. Wouldn't it be simpler to just make the type operators postfix? That would be consistent with...
The spec's treatment of `void` is a bit peculiar. In most ways, void functions act like functions whose return type is Null, but there are a couple of places where...
Any thoughts on the interaction between these two proposals? If the value is NonNull the '?.' operator is not needed. If the value _is_ Nullable the '?.' operator should always...
The Closure JS Compiler used by inside and outside of Google lets you add [type annotations](https://developers.google.com/closure/compiler/docs/js-for-compiler#types) to your JS code. Google's found it invaluable for large JS codebases. It features...
In B.2, you say: > This syntactic extension to function signatures can only be used in formal parameter declarations, not in other places in which function signatures are permitted by...