mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-10-19 20:18:26 +02:00
This avoids depending on the absolute path to the INPUTS and allows looking it up at run time even if the tests have moved.
14 lines
560 B
Swift
14 lines
560 B
Swift
/*b.swift*/
|
|
struct Struct: /*StructConformance*/Protocol {
|
|
static var /*StructStaticVar*/staticVar: Int { 123 }
|
|
static func /*StructStaticFunction*/staticFunction() {}
|
|
var /*StructVariable*/variable: Int { 123 }
|
|
func /*StructFunction*/function() {}
|
|
}
|
|
class Subclass: /*SubclassConformance*/Class {
|
|
override class var /*SubclassClassVar*/classVar: Int { 123 }
|
|
override class func /*SubclassClassFunction*/classFunction() {}
|
|
override var /*SubclassVariable*/variable: Int { 123 }
|
|
override func /*SubclassFunction*/function() {}
|
|
}
|