jansorg / swift-plugin

Space of the Swift language support plugin for JetBrains IDEs
35 stars 0 forks source link

Property wrapper with parameters not working #23

Closed avinizhanov closed 10 months ago

avinizhanov commented 10 months ago

This one causing error:

@Environment(\.scenePhase) var scenePhase
';', <compiler control statement>, <deinitializer declaration>, <import declaration>, <operator declaration>, '@', precedencegroup or '}' expected, got '@'

Screenshot 2023-08-31 at 8 28 19 AM

Property wrapper without parameters works fine, for example:

@State var test: Bool = false

Plugin version: 0.17.0.123-232

jansorg commented 10 months ago

Thanks! I've fixed this for the next update.