Tcl Source Code

View Ticket
Login
2021-04-14
19:23 • Closed ticket [26649439c7]: EIAS violation in concat plus 7 other changes artifact: 08cc4af9bc user: dgp
18:39
[26649439c7] EIAS bug in [concat] check-in: 72787c43c5 user: dgp tags: core-8-5-branch
18:23
Test demonstrating bug [26649439c7]. check-in: 5c3bf7eb54 user: dgp tags: bug-26649439c7
2021-04-12
16:00 • Ticket [26649439c7] EIAS violation in concat status still Open with 3 othe... artifact: 11386bc5f0 user: dgp
15:41 • Ticket [26649439c7]: 3 changes artifact: 2945dd8ec1 user: jan.nijtmans
15:14 • New ticket [26649439c7]. artifact: c0817bc4a8 user: dgp

Ticket UUID: 26649439c70869c27343cf00f492553c5a952791
Title: EIAS violation in [concat]
Type: Bug Created on: 2021-04-12 15:14:15
Submitter: dgp Assigned to: dgp
Subsystem: 10. Objects Severity: Important
Priority: 5 Medium Last modified: 2021-04-14 19:23:27
Status: Closed Closed by: dgp
Resolution: Fixed Closed on: 2021-04-14 19:23:27
Version: all
Description:
% list test
test
% list #
{#}
% concat [list test] [list #]
test #
% concat test {{#}}
test {#}
User Comments:
jan.nijtmans added on 2021-04-12 15:41:17:

% concat test {#}
test #

I don't see the problem


dgp added on 2021-04-12 16:00:00:
Look again.  The [concat] command with the same arguments produces different results based on the ObjType of the arguments.  Standard EIAS violation.

Maybe it is clearer in this form:

% concat [list test] [list #]
test #
% concat test "{#}"
test {#}

It is the first one that is wrong.

dgp added on 2021-04-14 19:23:27:
Test and fix applied to active branches