Nuance in compatibility of type arguments

The compiler tells you: invalid composite literal type Android
And indeed, Android is not a struct.

You could use DoSomething(Android(0))

1 Like