From e6ca13ec857dc065ebf3297129cc1538d4698f87 Mon Sep 17 00:00:00 2001 From: Juan M Gómez Date: Sat, 9 Sep 2023 09:34:20 +0100 Subject: Instantiates generics in the module that uses it (#22513) Attempts to move the generic instantiation to the module that uses it. This should decrease re-compilation times as the source module where the generic lives doesnt need to be recompiled --------- Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com> Co-authored-by: Andreas Rumpf --- compiler/ic/packed_ast.nim | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/ic/packed_ast.nim') diff --git a/compiler/ic/packed_ast.nim b/compiler/ic/packed_ast.nim index 8eafa5e96..b87348c5a 100644 --- a/compiler/ic/packed_ast.nim +++ b/compiler/ic/packed_ast.nim @@ -71,6 +71,7 @@ type when hasFFI: cname*: LitId constraint*: NodeId + instantiatedFrom*: PackedItemId PackedType* = object kind*: TTypeKind -- cgit 1.4.1-2-gfad0