Skip to content

Commit

Permalink
Display user hints/warnings from foreign packages (#17024)
Browse files Browse the repository at this point in the history
  • Loading branch information
Danil Yarantsev authored Feb 12, 2021
1 parent 18c24eb commit 66bf9b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compiler/options.nim
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,8 @@ template newPackageCache*(): untyped =
proc newProfileData(): ProfileData =
ProfileData(data: newTable[TLineInfo, ProfileInfo]())

const foreignPackageNotesDefault* = {hintProcessing, warnUnknownMagic, hintQuitCalled, hintExecuting}
const foreignPackageNotesDefault* = {
hintProcessing, warnUnknownMagic, hintQuitCalled, hintExecuting, hintUser, warnUser}

proc newConfigRef*(): ConfigRef =
result = ConfigRef(
Expand Down

0 comments on commit 66bf9b1

Please sign in to comment.