Closed carson-katri closed 7 months ago
The following stylesheet code fails to compile:
foregroundStyle(Color(.displayP3, red: 0.4627, green: 0.8392, blue: 1.0).opacity(0.25))
** (SyntaxError) :3: Unsupported input: | 3 | foregroundStyle(Color(.displayP3, red: 0.4627, green: 0.8392, blue: 1.0).opacity(0.25)) | ^^^^^^^^^^^^^ | expected ‘)’
However, this compiles successfully if the chain starts with a .:
.
foregroundStyle(.Color(.displayP3, red: 0.4627, green: 0.8392, blue: 1.0).opacity(0.25))
The following stylesheet code fails to compile:
However, this compiles successfully if the chain starts with a
.
: