aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/dart/multiple_arguments.dart
blob: 63a4a0438d2a9a29b276b68c788f9ea4ea40a6ff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Example method that causes an issue with indentation on usage
void someMethod(
  void onSuccess(),
  void onError(Exception ex, StackTrace stackTrace),
) {
  try {} catch (_, __) {}
}

void main() {
  someMethod(() {
  }, (Exception ex, StackTrace stackTrace) {
  });
}