Skip to content

Commit

Permalink
sema: add str type to PerformsRC method of TypeKind
Browse files Browse the repository at this point in the history
  • Loading branch information
mertcandav committed Aug 2, 2024
1 parent c97e525 commit 219bb50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/jule/sema/type.jule
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ impl TypeKind {
let mut _self = &self
let prim = _self.Prim()
if prim != nil {
ret prim.IsAny()
ret prim.IsAny() || prim.IsStr()
}
ret _self.Sptr() != nil || _self.Slc() != nil || _self.Trait() != nil
}
Expand Down

0 comments on commit 219bb50

Please sign in to comment.