Skip to content

Commit

Permalink
sema: fix checking of mapped genericed operator overloading methods
Browse files Browse the repository at this point in the history
  • Loading branch information
mertcandav committed Feb 28, 2024
1 parent ec223aa commit 2110cc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/jule/sema/sema.jule
Original file line number Diff line number Diff line change
Expand Up @@ -2212,7 +2212,7 @@ impl Sema {
}

fn check_struct_ins_op(mut &self, mut &s: &StructIns, mut &f: &Fn, p: fn(f: &Fn): bool): &FnIns {
if f == nil {
if f == nil || f.generics.len > 0 {
ret nil
}
let mut ins = self.ready_to_check_fn(s, f)
Expand Down

0 comments on commit 2110cc9

Please sign in to comment.