Commit f54febd
Simplify HasMethodType/HasPropertyType::isSuperTypeOf() CompoundType delegation
Now that string/scalar type queries return Maybe on HasMethodType and
HasPropertyType, the fallback-on-No guard is no longer needed. The
CompoundType delegation can unconditionally return the isSubTypeOf()
result.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 56412dd commit f54febd
2 files changed
Lines changed: 2 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
| 86 | + | |
90 | 87 | | |
91 | 88 | | |
92 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
| 83 | + | |
87 | 84 | | |
88 | 85 | | |
89 | 86 | | |
| |||
0 commit comments