Skip to content

Conversation

@lofcz
Copy link
Member

@lofcz lofcz commented Apr 9, 2022

This adds a new mode for parsing annotations values. In this mode curly brackets around table value are not required and an annotation value is always parsed as a table.

In this mode the following:

@Annotation("key1", "key2")
function f() {

}

Is parsed the same way as:

@Annotation({"key1", "key2"})
function f() {

}

In the default mode.

@CallumDev CallumDev merged commit fd9daad into librelancer Apr 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants