mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-04 04:20:09 -04: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) {
|
||
|
|
});
|
||
|
|
}
|