Open srawlins opened 3 years ago
I think there's an issue w/ the line just before it:
typedef Predicate = bool <E>(E element); // OK
Coincidentally, I was literally late last night thinking more about dart-lang/sdk#58448 which, if implemented, would have saved you from this headache.
Ah ha! Great catch! OK I've run the test I intended and can move forward.
This still shouldn't crash, right? I'll leave this open.
Totally. This is really confusing. Thanks!
Describe the issue
I tried to add this example to the
avoid_shadowing_type_parameters
lint rule test, at the very bottom oftest_data/rules/avoid_shadowing_type_parameters.dart
:This code analyzes clean with
dart analyze
, but the test crashes, in spelunker, maybe?