diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-07-14 18:08:44 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-07-14 18:08:44 +0200 |
| commit | a32a61813ebaecf0c1e69fd1481bf09d8c8b1420 (patch) | |
| tree | ecfb6140075e3c46b599755e220dbf560de2e31d /boot/semantic.cc | |
| parent | 51e2f98e33ae10fc3052335cc6847bc93d0784fa (diff) | |
| download | elna-a32a61813ebaecf0c1e69fd1481bf09d8c8b1420.tar.gz | |
Support more floating point literals
Diffstat (limited to 'boot/semantic.cc')
| -rw-r--r-- | boot/semantic.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boot/semantic.cc b/boot/semantic.cc index f42b094..d7a23be 100644 --- a/boot/semantic.cc +++ b/boot/semantic.cc @@ -783,9 +783,9 @@ namespace elna::boot void name_analysis_visitor::visit(traits_expression *trait) { - if (!trait->parameters.empty()) + if (!trait->arguments.empty()) { - trait->parameters.front()->accept(this); + trait->arguments.front()->accept(this); trait->types.push_back(this->current_type); } |
