Overview
| Artifact ID: | 86d52ad4ae3b53adf894f3826980b57a7894270780a4df15eff24ffa36ef4c5e |
|---|---|
| Ticket: | 16fe1b5807820bb9705b460959f459989ec06404
namespace ensemble command named ":" is mistakenly given the empty string as its name |
| User & Date: | aspect on 2017-11-11 01:47:20 |
Changes
- icomment:
Simpler demo: [8.7a2] % namespace ensemble create -command : :: The responsible code seems to be: https://core.tcl.tk/tcl/artifact/9cf6780328312995?ln=672-681 which is distinct from how other commands (proc, coroutine) qualify names before calling Tcl_NRCreateCommand/Tcl_CreateObjCommand, eg (note the comment here): https://core.tcl.tk/tcl/artifact/46a345d533c6582c?ln=8985-9015 seems like a great candidate for factoring into tclUtil.c and using uniformly across command-creating commands. The first question is, is this the right approach? The second is, what command-creating commands are there that should be brought into line? This is a can of worms ..
- login: "aspect"
- mimetype: "text/plain"