Open
Description
See example below.
local foo = 'ABCD'
At a very simple level of code like this, "ABCD" is parsed well as a Literal node, but if you look into that node, raw is properly entered, but the value is null.
the result of printing ast is as follows.
{
type: 'Chunk',
body: [ { type: 'LocalStatement', variables: [Array], init: [Array] } ],
comments: []
}
{ type: 'StringLiteral', value: null, raw: "'ABCD'" }
Metadata
Metadata
Assignees
Labels
No labels