| Ticket UUID: | e2ba08b285c4d0e51676d212b27d1b3f37c47fa6 | |||
| Title: | huddle compile generates incorrect huddle for boolean type | |||
| Type: | Bug | Version: | 0.2 | |
| Submitter: | anonymous | Created on: | 2022-05-17 09:46:51 | |
| Subsystem: | huddle | Assigned To: | nobody | |
| Priority: | 5 Medium | Severity: | Important | |
| Status: | Open | Last Modified: | 2026-11-16 00:06:15 | |
| Resolution: | None | Closed By: | nobody | |
| Closed on: | ||||
| Description: |
huddle compile {bool} true returns:
`HUDDLE {bool true}`
... while it should:
`HUDDLE {b true}.`
This fails:
```
set h [huddle compile {bool} true]
# HUDDLE {bool true}
huddle jsondump $h
# Error: {HUDDLE {bool true}} is not a huddle
```
"bool" type descriptor seems to be hardcoded in `compile` function.
| |||
| User Comments: |
serhiy.storchaka added on 2026-11-16 00:06:15:
Proposed fix in branch huddle-compile-bool-tag: compile uses the boolean type's tag "b" instead of "bool". Test huddle-3.10. | |||
Home
Blog
Docs
Downloads
Tickets
Timeline
Branches
Tags
Wiki