From d0461d572fea1fdbe185bb6c9fdd580fb8dc37c1 Mon Sep 17 00:00:00 2001 From: "A. R. Shajii" Date: Mon, 27 Feb 2023 10:28:50 -0500 Subject: [PATCH] Fix annotation --- stdlib/internal/types/generator.codon | 1 + 1 file changed, 1 insertion(+) diff --git a/stdlib/internal/types/generator.codon b/stdlib/internal/types/generator.codon index eafc9f61..80ca6a5e 100644 --- a/stdlib/internal/types/generator.codon +++ b/stdlib/internal/types/generator.codon @@ -25,6 +25,7 @@ class Generator: ret ptr %self @pure + @derives @llvm def __new__(ptr: cobj) -> Generator[T]: ret ptr %ptr