fixes a critical GC safety inference bug (#10615)
* fixes a critical GC safety inference bug * make nimsuggest compile again * make Nimble compile again
This commit is contained in:
parent
aed8766e84
commit
c86b1fbcac
7 changed files with 65 additions and 34 deletions
|
|
@ -45,8 +45,8 @@ type
|
|||
mwUnsupportedField
|
||||
|
||||
MsgHandler* = proc (filename: string, line, col: int, msgKind: MsgKind,
|
||||
arg: string) {.closure.} ## what to do in case of an error
|
||||
FindFileHandler* = proc (filename: string): string {.closure.}
|
||||
arg: string) {.closure, gcsafe.} ## what to do in case of an error
|
||||
FindFileHandler* = proc (filename: string): string {.closure, gcsafe.}
|
||||
|
||||
const
|
||||
messages: array[MsgKind, string] = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue