Skip to content

Commit

Permalink
Add tests for opaque result types (some)
Browse files Browse the repository at this point in the history
  • Loading branch information
taku0 committed Jun 18, 2022
1 parent 3f22042 commit c7cc7a3
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions test/swift-files/indent/declarations.swift
Original file line number Diff line number Diff line change
Expand Up @@ -766,3 +766,20 @@ let values: [
any
Any
] = []

// some

var
foo
:
some
Foo {
return Bar()
}

func foo()
->
some
Foo {
return Bar()
}

0 comments on commit c7cc7a3

Please sign in to comment.