Skip to content

Commit

Permalink
sema: fix sema-field analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
mertcandav committed Apr 10, 2024
1 parent b1c5265 commit 936b340
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions std/jule/sema/sema.jule
Original file line number Diff line number Diff line change
Expand Up @@ -2416,6 +2416,8 @@ impl Sema {
ret
}

self.set_sema_fields()

// Check enums here.
// See developer reference (8).
self.check_enums()
Expand All @@ -2424,8 +2426,6 @@ impl Sema {
ret
}

self.set_sema_fields()

self.impl_impls()
// Break checking if imports has error.
if self.errors.len != 0 {
Expand Down

0 comments on commit 936b340

Please sign in to comment.