From d4fd05824d2909fd594dc1d229dbcedfa137c456 Mon Sep 17 00:00:00 2001 From: mertcandav Date: Wed, 17 Jul 2024 15:22:13 +0300 Subject: [PATCH] sema: fix analysis order --- std/jule/sema/sema.jule | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/std/jule/sema/sema.jule b/std/jule/sema/sema.jule index a8e2fb5d7..276f0f5c0 100644 --- a/std/jule/sema/sema.jule +++ b/std/jule/sema/sema.jule @@ -2689,19 +2689,19 @@ impl Sema { self.setSemaFields() - // Check enums here. - // See developer reference (8). - self.checkEnums() + self.checkInherits() if len(self.errors) != 0 { ret } - self.checkInherits() + self.implImpls() if len(self.errors) != 0 { ret } - self.implImpls() + // Check enums here. + // See developer reference (8). + self.checkEnums() if len(self.errors) != 0 { ret }