diff options
| author | Yong He <yonghe@outlook.com> | 2024-03-14 14:14:18 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-14 14:14:18 -0700 |
| commit | 78d4df0644b20b8ba4eeff459c749c4e8d261345 (patch) | |
| tree | 0fec98d03281134cc46a0cc96cfd48b6107b159f /source/slang/slang-check-impl.h | |
| parent | ba65c212f71a9033c11657936f202f67b01abf23 (diff) | |
Add diagnostic on invalid type constraint. (#3769)
Diffstat (limited to 'source/slang/slang-check-impl.h')
| -rw-r--r-- | source/slang/slang-check-impl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/slang-check-impl.h b/source/slang/slang-check-impl.h index b1618dfb6..28c145498 100644 --- a/source/slang/slang-check-impl.h +++ b/source/slang/slang-check-impl.h @@ -2017,6 +2017,7 @@ namespace Slang SubtypeWitness* checkAndConstructSubtypeWitness(Type* subType, Type* superType); bool isInterfaceType(Type* type); + bool isValidGenericConstraintType(Type* type); bool isTypeDifferentiable(Type* type); |
