diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2022-03-24 11:42:56 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-24 11:42:56 -0400 |
| commit | b8617af2888db01f80efba9e0a103e6a61989c9c (patch) | |
| tree | 66830e801ac0dc78180ac8d9cda8af75d59bb557 /tests/diagnostics/generic-invalid-type-specialization.slang.expected | |
| parent | e1a331a2e2945f2b90c00d0af4d1ba5f67dbd256 (diff) | |
Fix for default initialization with generic field (#2168)
* #include an absolute path didn't work - because paths were taken to always be relative.
* Fix for = {} initialization with a field that is generic type parameter.
* Handling for if a non type is passed to a generic parameter which requires a type.
* Small comment improvements.
Fix some tab issues.
* This fixes the matrix.slang issue. Move the matrix.slang test into bugs as generic-default-matrix.slang
Diffstat (limited to 'tests/diagnostics/generic-invalid-type-specialization.slang.expected')
| -rw-r--r-- | tests/diagnostics/generic-invalid-type-specialization.slang.expected | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/diagnostics/generic-invalid-type-specialization.slang.expected b/tests/diagnostics/generic-invalid-type-specialization.slang.expected new file mode 100644 index 000000000..b3c75c760 --- /dev/null +++ b/tests/diagnostics/generic-invalid-type-specialization.slang.expected @@ -0,0 +1,8 @@ +result code = -1 +standard error = { +tests/diagnostics/generic-invalid-type-specialization.slang(17): error 30060: expected a type, got a 'InfixExpr' + Check<2 + 2> v; + ^ +} +standard output = { +} |
