diff options
Diffstat (limited to 'compiler/sem.nim')
-rw-r--r-- | compiler/sem.nim | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/sem.nim b/compiler/sem.nim index 2bdb1284f..03e599753 100644 --- a/compiler/sem.nim +++ b/compiler/sem.nim @@ -861,9 +861,7 @@ proc semStmtAndGenerateGenerics(c: PContext, n: PNode): PNode = trackStmt(c, c.module, result, isTopLevel = true) if optMultiMethods notin c.config.globalOptions and c.config.selectedGC in {gcArc, gcOrc, gcAtomicArc} and - c.config.isDefined("nimPreviewVtables") and - c.config.backend != backendCpp and - sfCompileToCpp notin c.module.flags: + Feature.vtables in c.config.features: sortVTableDispatchers(c.graph) if sfMainModule in c.module.flags: |