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

impl Show for Failure #1360

Closed
peter-jerry-ye opened this issue Dec 24, 2024 · 0 comments · Fixed by #1364
Closed

impl Show for Failure #1360

peter-jerry-ye opened this issue Dec 24, 2024 · 0 comments · Fixed by #1364
Assignees
Labels

Comments

@peter-jerry-ye
Copy link
Collaborator

///|
fn main {
  try {
    f!()
  } catch {
    e => println(e)
  }
}

fn f() -> Unit! {
  fail!("asdf")
}

This currently only prints

moonbitlang/core/builtin.Failure.Failure
@Lampese Lampese self-assigned this Dec 25, 2024
@Lampese Lampese linked a pull request Dec 25, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants