vknabel / vscode-swift-development-environment

New home of Swift Development Environment for VS Code
https://marketplace.visualstudio.com/items?itemName=vknabel.vscode-swift-development-environment
Apache License 2.0
175 stars 14 forks source link

Build error #20

Closed sbromberger closed 6 years ago

sbromberger commented 6 years ago

Not sure whether this is related to this plugin, but I'm getting expressions are not allowed at the top level errors from a brand new library creation (via swift package init --type=library). The only content is boilerplate:

struct Rationals {
    var text = "Hello, World!"
}

Any ideas on what the problem might be?

sbromberger commented 6 years ago

Fixed - but not quite sure how.

vknabel commented 6 years ago

This behavior sounds weird. If this this happens again, you can reopen this issue and I will have a deeper look.