You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And I'm getting this error when testing: error: expected type '.mecha.Result(.mecha.struct:323:23)', found '.mecha.Result(.mecha.struct:323:23)'
As far as I understand from the code and asking on Discord, combine generates its return type, but rgbBytes and rgbNibbles have distinct tuples even though they are both u8 triplets… (due to @TypeOf)
The text was updated successfully, but these errors were encountered:
I worked around it by un-factoring convert from rgb down to rgbBytes and rgbNibbles, so those become Parser(Rgb) and the unique tuple types are immediately consumed.
I'm still wondering if there isn't a better way, but feel free to close.
I was trying to extend your example to also accept
#rgb
colors, like so:And I'm getting this error when testing:
error: expected type '.mecha.Result(.mecha.struct:323:23)', found '.mecha.Result(.mecha.struct:323:23)'
As far as I understand from the code and asking on Discord,
combine
generates its return type, butrgbBytes
andrgbNibbles
have distinct tuples even though they are bothu8
triplets… (due to@TypeOf
)The text was updated successfully, but these errors were encountered: