Skip to content

Icon annotation gives validation errors #1569

Closed
@edwardalee

Description

@edwardalee

If you create the following LF file:

target C
@icon("Variables.png")
reactor Variables {}

and then compile it with lfc, you get:

1 | target C
2 | @icon("Variables.png")
  |       ^^^^^^^^^^^^^^^ File extension 'png"' is not supported. Provide any of: ico, png, jpeg, gif, bmp

Note that the trailing quotation mark is included. I tried to fix this, but it just led to another error in the same validation code.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions