Skip to content

Returning mathematical or logical expressions is not supported? #66

Open
@ghost

Description

@mertyildiran @melihs
Is return broken?

num def sum(num x, num y)
        return x + y
end

error:

Syntax error:                                                           
    Module: /Users/lewek/Desktop/chaos-master/__interactive__.kaos     
    Line: 1                                                               
    Cause: + 

Maybe I should make:

num def sum(num x, num y)
        num z = x + y
        return z
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestNew feature or requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions