diff options
Diffstat (limited to 'compiler/sigmatch.nim')
-rw-r--r-- | compiler/sigmatch.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/sigmatch.nim b/compiler/sigmatch.nim index 077b4b269..401d160fa 100644 --- a/compiler/sigmatch.nim +++ b/compiler/sigmatch.nim @@ -742,7 +742,7 @@ proc matchUserTypeClass*(m: var TCandidate; ff, a: PType): PType = addDecl(c, param) var - oldWriteHook: type(m.c.config.writelnHook) + oldWriteHook: typeof(m.c.config.writelnHook) diagnostics: seq[string] errorPrefix: string flags: TExprFlags = {} |