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

[obsolete] Revert "fix #13182: proc fun(a: varargs[Foo, conv]) now can be overloaded (#13345) #13379

Closed

Conversation

timotheecour
Copy link
Member

@timotheecour timotheecour commented Feb 10, 2020

very sad, I know ...

maybe someone has a better idea? /cc @Clyybber

note (for whoever wants to revisit #13345)

when compiling nim with --stacktrace:on --debugger:native, the crash in #13378 is inside some cgen code; that means the error should've been detected earlier but wasn't; it's possible that some piece of code didn't check for result == nil somewhere down the line after c.semTryExpr

… be overloaded (nim-lang#13345) [backport]"

This reverts commit 79ec8c2.
@Clyybber
Copy link
Contributor

@timotheecour I don't, but didn't your original PR first have a different solution to #13182 ?
Or am I misremembering

@timotheecour
Copy link
Member Author

it did, but 1st solution didn't work; and now looks like 2nd solution doesn't work either... somehow varargs[string,conv] really is complex to handle properly

@nim-lang nim-lang deleted a comment from krux02 Feb 11, 2020
@Araq
Copy link
Member

Araq commented Feb 11, 2020

Let's not merge this, I have a proper fix.

@timotheecour
Copy link
Member Author

timotheecour commented Feb 11, 2020

can you also see if your proper fix improves #10975 ? this seems at least somewhat related

@Araq Araq closed this Feb 11, 2020
@timotheecour timotheecour deleted the exp_13378_getTypeDescAux branch February 11, 2020 23:04
@timotheecour timotheecour changed the title Revert "fix #13182: proc fun(a: varargs[Foo, conv]) now can be overloaded (#13345) [obsolete] Revert "fix #13182: proc fun(a: varargs[Foo, conv]) now can be overloaded (#13345) Feb 19, 2020
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.

Internal error in getTypeDescAux
3 participants