[Compiler][Diagnostics] Use of new with non-object types gives a somewhat wrong error message #19568
Labels
Area/Diagnostics
Issues related Diagnostics reported by the Compiler. #Compiler
Team/CompilerFE
All issues related to Language implementation and Compiler, this exclude run times.
Type/Improvement
Projects
Consider the following program:
The above program gives the following error:
The text was updated successfully, but these errors were encountered: