Ticket #376 (new defect)

Opened 5 years ago

Cannot use stream as paramter type if type name is fully qualified

Reported by: nerdzero Owned by:
Priority: medium Milestone:
Component: Cobra Compiler Version: 0.9.6
Keywords: Cc:


This code:

def foo(tokens as Cobra.Compiler.IToken*)

produces this error message:

Cannot find "IToken*" at component 3 of qualified type

Workarounds include adding a using directive and not using the fully qualified name or creating a type alias such as:

use ICobraToken = Cobra.Compiler.IToken
def foo(tokens as ICobraToken*)
Note: See TracTickets for help on using tickets.