-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
I find myself frequently comparing enum types and arrays of types, but the error message is a little obtuse:
Error: Not equal: []compiler.itemType{0x1, 0x2, 0x9, 0x2, 0x2, 0xa, 0xb, 0x2, 0x3, 0x0, 0x2, 0x3, 0x2, 0x3, 0xc} (expected
!= []compiler.itemType{0x1, 0x2, 0x9, 0x2, 0x2, 0xa, 0xb, 0x2, 0x0, 0x2, 0x3, 0x2, 0x3, 0xc} (actual)
vs:
Error: Not equal: [Keyword Identifier StartOptions Identifier Identifier EndOptions StartFields Identifier AutoValue Identifier AutoValue Identifier AutoValue EndFields] (expected)
!= [Keyword Identifier StartOptions Identifier Identifier EndOptions StartFields Identifier AutoValue Comment Identifier AutoValue Identifier AutoValue EndFields] (actual)
Metadata
Metadata
Assignees
Labels
No labels