mapbox-maps-android
mapbox-maps-android copied to clipboard
Most expression now show lint error "Incorrect number of expressions"
Since mapbox Android 11.4.0
For example
circleColor(
switchCase {
eq {
get { literal("type") }
literal(RouteShapeWaypointType.AUTO.name)
}
color(Color.RED)
color(Color.YELLOW)
},
)
Here both switchCase and eq expression are concerned !!!
Incorrect number of expressions within switchCase Expression: expected an odd number, but 2 was found. More... (Ctrl+F1)
Incorrect number of expressions within eq Expression: expected 2 or 3, but 1 was found. More... (Ctrl+F1)