-
Notifications
You must be signed in to change notification settings - Fork 28
Closed
Labels
bad-testReport tests in need of updates. When closed, the tests should be considered goodReport tests in need of updates. When closed, the tests should be considered good
Description
In the following test the function test
expects a List
as the parameter, but then the parameter is matched agains map patterns. It seems that the type of the formal parameter was supposed to be Map
.
co19/LanguageFeatures/Patterns/map_A01_t02.dart
Lines 49 to 51 in 96b7271
String test(List list) { | |
switch (list) { | |
case <int, num>{1: > 0 || -42}: |
Metadata
Metadata
Assignees
Labels
bad-testReport tests in need of updates. When closed, the tests should be considered goodReport tests in need of updates. When closed, the tests should be considered good