-
Notifications
You must be signed in to change notification settings - Fork 1
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
2.0.4/6 backport candidates #3
Comments
@ringabout Even with new backports, the nightlies are still failing with: Since this happens only on the nightlies, and not with the regular Nim CIs or to me locally, it is hard for me to reproduce. Last successful nightlies build was before I started doing backports from this list, so I'm guessing the problematic commit is somewhere in the bottom 1/3 of this list (the oldest commit is at the bottom). Based on the commit messages in the list, can you maybe tell what might be causing it or, alternatively, how to fix the error? |
Found it!! |
@arnetheduck The work on this list of commits has been completed. The "missing backports" (onec without a checkmark on the list) are commits which cause problems on the As it is more than a month since you made this list, if you want — make another list with recent |
@narimiran great, thanks! I'll take a look in a bit @metagn nim-lang/Nim@9416595 - what would it take to backport this one? |
Should be no trouble afaik, a direct cherrypick could work |
Ok, let me try to backport it again. Maybe this time (with more commits backported) it'll work. |
When I cherry pick your commit, |
Then I would say nim-lang/Nim@e8092a5 might fix it, but there may have been a backport attempt on this already? |
I've tried it again now, on top of the previously mentioned commit, and it still doesn't fix the error in Next idea? :) |
None off the top of my head, I'll try to figure out what's failing from the stacktrace when I get the chance |
The issue is with sempass2 not being able to handle the weirdness of the type of the to: if a.kind != nkSym or a.sym.magic notin {mNBindSym, mFinished, mExpandToAst, mQuoteAst, mType}: (i.e. adding I forgot to mention nim-lang/Nim@9416595 also has a followup nim-lang/Nim@4b1a841 and probably needs another one down the line to address nim-lang/Nim#23386. |
Now I backported that followup + added
|
No problem found. All mentioned commits are now available in |
With @metagn's fix (nim-lang/Nim#23571) backported, I consider this list of commits done. @arnetheduck, please open a new issue with the recent commits you would like to see backported. |
ErrorColor
for hints marked as errors (#23430)exportc
pragma (#23369)close
andsetFilePos
(#23380)snprintf
instead ofsprintf
(#23322)--passc:-fast-math
. (#23211)nkHiddenStdConv
for cstring conversions (#23216)insert
self-assignment (#23225)auto
for routine return types (#23207)nim-lang/Nim@29ac3c9 fixes #22923; fixesSpurious effects regression from Nim 2.0.4 to 2.0.5 Nim#23530=dup
issues (#23182)[]
calls in templates (#23175)tyGenericParam
(#22143)nkOpenSymChoice
into consideration caused by templates [backport] (#23168)typRel
andsumGeneric
adjustments (#23137)macros.error
as.noreturn.
(#23081)parseAll
to parse statements separated by semicolons (#23088)nim-lang/Nim@91efa49 Overloads passed to static proc parameters now convert to the desired… (#23063)compilation error/regression from 2.0.4 to 2.0.5:Error: unhandled exception: field 'sym' is not accessible for type 'TNode' using 'kind = nkIntLit' [FieldDefect]
Nim#23533editDistance
wrongly compare the length of rune strings (#23062)nim-lang/Nim@8cc3c77 Look up generic parameters when found inside semOverloadedCall, fixin… (#23054)compilation error/regression from 2.0.4 to 2.0.5:Error: unhandled exception: field 'sym' is not accessible for type 'TNode' using 'kind = nkIntLit' [FieldDefect]
Nim#23533typeAllowedCheck
for default fields (#22998)nim-lang/Nim@5dafcf4 fixes #22913; fixes #12985 differently push-ing pragma exportc genera… (#22941)Regression from 1.6/2.0.4/devel to 2.0.5:Error: toException(self.eResultPrivate) can raise an unlisted exception: ref LPError
Nim#23519InotifyEvent
typesizeof
-able (#22958)errorCode
field is not assigned a value (#22954)sysFatal
forDefect
(#22158)AnyEnumConv
warning when iterating over set (#22904)default(typeof(
withreset
; suppress `Unsaf… (#22895)var section
in the loop as reassign preventing cursor (#22800)typeRel
behave to spec (#22261)strutils.join
for non-strings uses proc$
which can have side effects (#22770)setLenUninit
for seqsv2 (#22767)unCheckedInc
(#22729)moveFile
consider permission on *nix (#22719)result
requires explicit initialization on noReturn code (#22717)discVal
register is used after free in vmgen (#22688)seq
operations (#22677)newSeqOfCap
not initialize memory. (#21842)sendable
pragmas are not being cached (#22622)getAppFilename
exception handling (#22544)structuredErrorHook
temporary intryConstExpr
(#22450)gc:arc
orgc:orc
in docs and in error messages (#22408)repr(HSlice)
always available (#22332)The text was updated successfully, but these errors were encountered: