Skip to content

function overload error #32

Description

@k1ngmang

code:

def a(arg : int){}
def a(){}

exception:

[RedeclarationException] in test.ix[4:4]
Correct syntax errors before type checking can continue.
Redeclaration of variable `a`.
3: def a(arg : int){}
4: def a(){}
^^^^^^
5|
You cannot redeclare variables.
Logged from com.kingmang.ixion.api.Context:addVariableOrError@24

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions