Skip to content

Commit 0dac635

Browse files
authored
JIT: Fix "elaborated type specifier" for enum class in JIT (#104450)
It appears even scoped enums should just get the `enum` keyword in these cases. Fix #104442
1 parent 49757a5 commit 0dac635

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coreclr/jit/gentree.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4658,7 +4658,7 @@ struct NewCallArg
46584658
// The class handle if SignatureType == TYP_STRUCT.
46594659
CORINFO_CLASS_HANDLE SignatureClsHnd = NO_CLASS_HANDLE;
46604660
// The type of well known arg
4661-
enum class WellKnownArg WellKnownArg = ::WellKnownArg::None;
4661+
enum WellKnownArg WellKnownArg = ::WellKnownArg::None;
46624662

46634663
NewCallArg WellKnown(::WellKnownArg type) const
46644664
{

0 commit comments

Comments
 (0)