aerobounce / Swift-Next

Swift syntax package in async/await era, with extra features, for Sublime Text.
MIT License
37 stars 6 forks source link

[Syntax] #7

Closed yaroslavyaroslav closed 1 month ago

yaroslavyaroslav commented 1 year ago

Describe the syntax error Syntax doesn't handled nested types call. e.g. func someFunc(x: Class1.NestedClass.AnotherOneNestedClass).

Syntax identifies it as support.syntax.other for all but the first one, while this is a support.syntax.class.

Expected behavior To handle such kind of types as a support.class.swift.

Minimum Reproducible Snippet of Swift code

class Class1 {
    struct NestedClass {
        class AnotherOneNestedClass {}
    }
}

func someFunc(x: Class1.NestedClass.AnotherOneNestedClass) { }

Environment (please complete the following information):

Additional context Add any other context about the problem here.