Compare commits

..

1 commit

Author SHA1 Message Date
jgcodes2020
fa93f9526c Merge branch 'variant-literal' into 'main'
Draft: Syntax for variants

See merge request jwestman/blueprint-compiler!224
2025-01-04 00:14:54 +00:00
3 changed files with 0 additions and 16 deletions

View file

@ -519,14 +519,6 @@ class ArrayValue(AstNode):
range=quoted_literal.range,
)
)
elif isinstance(value.child, Translated):
errors.append(
CompileError(
"Arrays can't contain translated strings",
range=value.child.range,
)
)
if len(errors) > 0:
raise MultipleErrors(errors)

View file

@ -1,7 +0,0 @@
using Gtk 4.0;
StringList {
strings: [
_("Test")
];
}

View file

@ -1 +0,0 @@
5,5,9,Arrays can't contain translated strings