[SR-11998] can't declare implicitly unwrapped optional of type with inferred generic parameters #54432
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
type checker
Area → compiler: Semantic analysis
Additional Detail from JIRA
md5: c1e36f49a5241c93c0abf6cec90bfad7
Issue Description:
On Ubuntu 18.04 development snapshot 2020-01-03, this compiles without error.
On Ubuntu 18.04 development snapshot 2020-01-04 and later, this produces an error:
If you do `let _: Generic<Int>! = Generic<Int>()` instead, then there is no error.
The text was updated successfully, but these errors were encountered: