Skip to content

Bug: Assignment to an input function parameter - C backend #1952

Open
@ronnuriel

Description

@ronnuriel

semantic error: Assignment to an input function parameter x is not allowed
--> test:2:5
|
2 | x = u16(11)
|

def foo(x: u16):
    x = u16(11)

foo(u16(10))

Metadata

Metadata

Assignees

No one assigned

    Labels

    asrASR related changesbugSomething isn't workingcLabel for C language related changes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions