Skip to content

Commit

Permalink
JIT: Fix "elaborated type specifier" for enum class in JIT (#104450)
Browse files Browse the repository at this point in the history
It appears even scoped enums should just get the `enum` keyword in these
cases.

Fix #104442
  • Loading branch information
jakobbotsch authored Jul 5, 2024
1 parent 49757a5 commit 0dac635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreclr/jit/gentree.h
Original file line number Diff line number Diff line change
Expand Up @@ -4658,7 +4658,7 @@ struct NewCallArg
// The class handle if SignatureType == TYP_STRUCT.
CORINFO_CLASS_HANDLE SignatureClsHnd = NO_CLASS_HANDLE;
// The type of well known arg
enum class WellKnownArg WellKnownArg = ::WellKnownArg::None;
enum WellKnownArg WellKnownArg = ::WellKnownArg::None;

NewCallArg WellKnown(::WellKnownArg type) const
{
Expand Down

0 comments on commit 0dac635

Please sign in to comment.