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

Naming a type "Sender" causes panic #1

Open
apatil opened this issue Aug 15, 2023 · 1 comment
Open

Naming a type "Sender" causes panic #1

apatil opened this issue Aug 15, 2023 · 1 comment

Comments

@apatil
Copy link

apatil commented Aug 15, 2023

The following code:

use fmt;

enum Sender {
  Sender
}

fn main() {
    fmt.Println("Hello")
}

causes a panic here: https://github.com/borgo-lang/borgo/blob/main/compiler/src/codegen.rs#L2061

More generally, do you want little issue reports like this at this stage of Borgo's development?

@alpacaaa
Copy link
Contributor

alpacaaa commented Sep 8, 2023

Hey sorry for getting back so late!
I have a bunch of issues like this one that I need to fix, feel free to report any problem you find, I'd appreciate that :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants