Value is accepted as type parameter #13906
Labels
Generic Procs
Invalid Code Acceptance
Everything related to compiler not complaining about invalid code
Medium Priority
Semantic Analysis
The compiler accepts passing a value as type parameter, using the type of the value as the actual type parameter (see the example below), instead of reporting an error. I'm not sure if this is a bug or intended behaviour, but i couldn't find any documentation on it.
Example
Additional Information
Possibly related to #12664.
The text was updated successfully, but these errors were encountered: