WIP
Some checks failed
ci/woodpecker/push/check Pipeline failed

This commit is contained in:
Bruno BELANYI 2024-04-08 22:13:23 +01:00
parent 4cfd843564
commit a50309bec1
4 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,13 @@
foo = select(soong_config_variable("my_namespace", "my_var"), {
// ^ function.builtin
"foo": unset,
// ^ variable.builtin
default: true,
// <- variable.builtin
})
/* Assigning to builtins is conveniently not allowed at runtime */
unset = 12
// <- variable.builtin
default = 27
// <- variable.builtin

5
test/highlight/select.bp Normal file
View file

@ -0,0 +1,5 @@
foo = select(soong_config_variable("my_namespace", "my_var"), {
// ^ keyword.conditional
"foo": unset,
default: "bar",
})