Commit 72952cb
Add unit tests for NeverType and NonAcceptingNeverType isSuperTypeOf TemplateType
Tests both NeverType and NonAcceptingNeverType return Maybe when checking
isSuperTypeOf against a TemplateType, since a template type can be
instantiated to never. Tests with both unbound and bounded template types.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 4e894ee commit 72952cb
1 file changed
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
284 | 308 | | |
285 | 309 | | |
286 | 310 | | |
| |||
0 commit comments