aboutsummaryrefslogtreecommitdiff
path: root/boot/evaluator.cc
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-08-02 17:05:34 +0200
committerEugen Wissner <belka@caraus.de>2026-08-02 17:05:34 +0200
commit1c2fb173ea3b674207badc721556ad72962b266e (patch)
tree950b1d58b719f3302045e114eee35a426af8b0dd /boot/evaluator.cc
parentc07c43bf911f62ad6363c024b3f81ceb4f95b16c (diff)
downloadelna-1c2fb173ea3b674207badc721556ad72962b266e.tar.gz
Check array property accessbility at compile time
Diffstat (limited to 'boot/evaluator.cc')
-rw-r--r--boot/evaluator.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/boot/evaluator.cc b/boot/evaluator.cc
index 097b6a5..8f414fa 100644
--- a/boot/evaluator.cc
+++ b/boot/evaluator.cc
@@ -459,7 +459,7 @@ namespace elna::boot
{
switch (operation)
{
- using enum binary_operator;
+ using enum binary_operator;
case equals:
return constant_value{ true };
case not_equals:
@@ -472,7 +472,7 @@ namespace elna::boot
{
switch (operation)
{
- using enum binary_operator;
+ using enum binary_operator;
case sum:
if constexpr (std::is_same_v<T, integer_literal>)
{