Tcl Library Source Code

View Ticket
Login
2026-11-16
00:06 • Ticket [e2ba08b285] huddle compile generates incorrect huddle for boolean type status still Open with 3 other changes artifact: 6af231162b user: serhiy.storchaka
2026-11-15
23:36
Fix [e2ba08b285]: huddle compile bool used the tag "bool" instead of "b". leaf check-in: 33e681a995 user: serhiy.storchaka tags: huddle-compile-bool-tag
2022-05-17
09:46 • New ticket [e2ba08b285] huddle compile generates incorrect huddle for boolean type. artifact: 71d3b7c39c user: anonymous

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.