You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I have created an intentionally broken program here. https://godbolt.org/z/1MxWvPP6E
This problem is easy to run into if you pass a temporary object into a inout parameter. I wish the compiler output was a bit clearer about what has gone wrong. If we remove the -spirv flag, it becomes clearer:
I'm marking this as both dxil and spriv because both messages are bad and not particularly useful. This should be failing overload resolution and providing a reasonable explanation as to why.
Is your feature request related to a problem? Please describe.
I have created an intentionally broken program here.
https://godbolt.org/z/1MxWvPP6E
This problem is easy to run into if you pass a temporary object into a
inout
parameter. I wish the compiler output was a bit clearer about what has gone wrong. If we remove the-spirv
flag, it becomes clearer:Describe the solution you'd like
It would be great if the output with the flag was also clear.
The text was updated successfully, but these errors were encountered: