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

Weird crash with (try ...).get(OrElse) in LambdaLift #20

Open
ochafik opened this issue Nov 5, 2014 · 0 comments
Open

Weird crash with (try ...).get(OrElse) in LambdaLift #20

ochafik opened this issue Nov 5, 2014 · 0 comments

Comments

@ochafik
Copy link
Member

ochafik commented Nov 5, 2014

The following code snippet breaks the hell out of Scalaxy/Streams (symbol foo ends up not found in LambdaLift, despite seemingly having the proper owner chain):

val msg = {
  try {
    val foo = 10
    Some(foo)
  } catch {
    case ex: Throwable => None
  }
} get;
msg

It is currently mitigated by skipping any streams with a Try subtree, as detected by Strategies.hasKnownLimitationOrBug (see fe8531b), but a proper fix is needed to replace this broad hack.

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

1 participant