Add array concat operator
This commit is contained in:
@@ -195,7 +195,7 @@ function isOperatorStart(char) {
|
||||
|
||||
function readOperator(source, start) {
|
||||
let index = start + 1;
|
||||
if ((source[start] === '&' || source[start] === '|' || source[start] === '/') && source[index] === source[start]) return index + 1;
|
||||
if ('&|/+'.includes(source[start]) && source[index] === source[start]) return index + 1;
|
||||
if ((source[start] === '<' || source[start] === '>' || source[start] === '=' || source[start] === '!') && source[index] === '=') {
|
||||
index += 1;
|
||||
}
|
||||
|
||||
@@ -10,6 +10,7 @@ in
|
||||
schema.Service & {
|
||||
name = "api";
|
||||
port = 9000 + 443;
|
||||
tags = ["web"] ++ ["prod"];
|
||||
feature.enable = 9000 + 443 > 9000 && true;
|
||||
}
|
||||
`,
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user