Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect line number in compiler error #881

Open
emil14 opened this issue Feb 14, 2025 · 0 comments
Open

Incorrect line number in compiler error #881

emil14 opened this issue Feb 14, 2025 · 0 comments

Comments

@emil14
Copy link
Collaborator

emil14 commented Feb 14, 2025

import { fmt }

def Concat(prefix string, suffix string) (res string) {
    (:prefix + :suffix) -> :res
}

def Main(start any) (stop any) {
    fmt.Println
    concat Concat
    ---
    :start -> ['Hello, ', 'World!'] -> [concat:prefix, concat:suffix]
    concat -> println -> :stop
}

when i try to do neva run the compiler says :0:0: multiple senders are only allowed at the start of a connection

presumably the 2^32 is wrapping around to 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

1 participant