https://github.com/shader-slang/slang
Raw File
Tip revision: c3c1b56ae693ed23804544e929a3447bc921edf6 authored by Yong He on 02 June 2023, 22:31:03 UTC
Fix generic param inference through TypeCastIntVal. (#2916)
Tip revision: c3c1b56
implicit-cast-lvalue.slang.expected
result code = -1
standard error = {
tests/diagnostics/implicit-cast-lvalue.slang(14): error 30047: argument passed to parameter '0' must be l-value.
    a(y);
      ^
tests/diagnostics/implicit-cast-lvalue.slang(14): note 30048: argument was implicitly cast from 'int' to 'uint', and Slang does not support using an implicit cast as an l-value
}
standard output = {
}
back to top