Types of lambda parameters are lost in some cases #317
Labels
Priority: Medium
Medium priority
Subsystem: Writing
Anything concerning how expressions are written
Type: Bug
Something isn't working
See also: #308
This seemingly happens when the outside context (such as a local variable or parameter type) doesn't require the more specific type provided in the original source code. Dropping the types does, however, lead to compilation errors and silent behaviour changes.
Example
(from the test added in #308)
Input code:
Decompiled output:
The text was updated successfully, but these errors were encountered: