Ticket #256 (closed enhancement: fixed)
Should warn when lowering is optional/ambiguous
| Reported by: | stephan | Owned by: | stephan |
|---|---|---|---|
| Priority: | minor | Milestone: | OTDT_1.3.0_M3 |
| Component: | language | Version: | 1.3.0M2 |
| Keywords: | Cc: |
Description
Given the caveat in Caveats#Collection.removeseemsbroken the compiler should warn when a lowering translation may be intended but is not inserted because an upcast is sufficient.
Rather than eagerly trying lowering in all situations, the warning might be restricted to situations where the declared type is java.lang.Object, which kind-of corresponds to using raw types where generics should better be used.
Change History
Note: See
TracTickets for help on using
tickets.
all news
RSS feed