Wiki

Ticket #376 (new defect)

Opened 10 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:

Description

This code:

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

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*)
    pass
Note: See TracTickets for help on using tickets.