Ticket #138 (closed enhancement: fixed)
Cannot infer the type of a "ref .someMethod"
Reported by: | Chuck | Owned by: | hopscc |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Cobra Compiler | Version: | 0.8.0 |
Keywords: | type inference | Cc: |
Description
In this code:
x = ref .someMethod
Cobra will complain that it cannot infer the type.
At the very least, Cobra should pick up any matching sig types from the current type, namespace and use directives.
Perhaps it should also generate one, if no compatible one is available.
Change History
Note: See
TracTickets for help on using
tickets.