Skip to content

Commit

Permalink
sema: fix analysis order
Browse files Browse the repository at this point in the history
  • Loading branch information
mertcandav committed Jul 17, 2024
1 parent 65afcfd commit d4fd058
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions std/jule/sema/sema.jule
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit d4fd058

Please sign in to comment.