Skip to content

Conversation

@odersky
Copy link
Contributor

@odersky odersky commented Jul 1, 2019

When compiling Parsers.scala with mismatched braces, I saw

java.lang.AssertionError: assertion failed: leak: <error no implicit values were found that match type dotty.tools.dotc.core.Contexts.Context>
[error]   (
[error] vdef) in ...

The issue is here that we should disregard leaks with erroneous types.

When compiling Parsers.scala with mismatched braces, I saw

```
java.lang.AssertionError: assertion failed: leak: <error no implicit values were found that match type dotty.tools.dotc.core.Contexts.Context>
[error]   (
[error] vdef) in ...
```
The issue is here that we should disregard leaks with erroneous types.
@odersky odersky merged commit 317505e into scala:master Jul 1, 2019
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

Successfully merging this pull request may close these issues.

2 participants