-
Nilability ergonomics / convenience features have been proposed in #12614 and forked off into #16931. The first of them is the topic of #13639, already implemented.
This issue requests the second c…
-
With the recent nilability changes in the language, the TOML package has received various organic updates to keep it working and passing testing. However, these updates have led to an inconsistency in…
-
## The Problem
The `tapioca` compiler for ActiveRecord models makes most columns nilable, ignoring database constraints.
This is correct on paper, because when you call `Model.new` none of those w…
-
When creating a variable of a class/record type that has a field of a generic type, the compiler needs to check that the instantiated field's type has concrete nilability and memory management. Otherw…
-
Currently we cannot pass ``nil`` to a nilable, un/managed, but otherwise generic formal. This seems reasonable seeing as ``nil`` can't contain the relevant information to instantiate the generic forma…
-
Regarding nilability, should the compiler emit a warning that the nil-check is unnecessary? Maybe there's a reason I'm missing that the nil could e.g., be propagated somewhere despite the non-nilable …
-
Usability problem statement for nilability. The actual problem is with localized error handling of exceptions that becomes exacerbated with nilability.
Possibly a non-issue, though it's annoying to…
-
Currently this code:
```chpl
class Block {
proc init(targetLocales: [] locale) {...}
}
var targetLocales: [....] locale?;
populate targetLocales;
... new Block(targetLocales!) ...
```
d…
-
#### Input
[→ View on sorbet.run](https://sorbet.run/#%23%20typed%3A%20true%0Aextend%20T%3A%3ASig%0A%0Asig%20%7Breturns%28Integer%29%7D%0Adef%20foo%28%29%0A%20%20x%20%3D%20rand%20%3C%200.5%20%3…
-
Related #14361, #14273
Bug. Nilability. Resizing to a smaller domain when an associated array is of managed *non-nilable* class type will attempt to default-assign `nil` to the disappearing element…