mirror of
https://github.com/keith/swift.vim.git
synced 2025-12-22 12:14:13 +01:00
Examples
This commit is contained in:
@@ -124,3 +124,33 @@ enum Card : Int {
|
||||
case Diamond
|
||||
case Club
|
||||
}
|
||||
|
||||
struct foo : bar {
|
||||
switch (foo) {
|
||||
case foo:
|
||||
case bar:
|
||||
default:
|
||||
stuff
|
||||
case baz:
|
||||
fuck
|
||||
case bar:
|
||||
bafsd
|
||||
}
|
||||
|
||||
func foo() {
|
||||
|
||||
}
|
||||
|
||||
func bar(asdf: String) -> Bool {
|
||||
|
||||
}
|
||||
|
||||
func baz() -> (Foo, Bar)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
func asdf<T>() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user