-
Notifications
You must be signed in to change notification settings - Fork 13.3k
default method ICE #3563
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Labels
A-trait-system
Area: Trait system
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Milestone
Comments
This still seems to be an issue. Here is a smaller test case:
Produces:
|
Here's an even smaller test case:
The resulting error:
With backtrace:
|
The smallest test case above still ICEs, as of d2ad028 |
@pcwalton said that pending pull requests might fix this -- I'll wait for those before testing it again. |
I rebased just now, and tested the last test case; it still ICEs. This is with 6742c98 |
catamorphism
added a commit
that referenced
this issue
Jan 8, 2013
That is, treat `self` as if it has dynamic scope. This seems to be harmless, and prevents an ICE as per #3563
catamorphism
added a commit
to catamorphism/rust
that referenced
this issue
Jan 8, 2013
…unctions Necessary to allow supertrait methods to be called in default functions. As per rust-lang#3563
Closed
Fixed in 80435ad |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
A-trait-system
Area: Trait system
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Working on an example app and got an ICE as soon as I added a default method (add_points).
This is with rust from Sep 22, 2012.
The text was updated successfully, but these errors were encountered: