mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-04 13:00:04 +08:00
14 lines
273 B
Dart
14 lines
273 B
Dart
// 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) {
|
|
});
|
|
}
|