Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • pike pike
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 106
    • Issues 106
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pikelang
  • pikepike
  • Issues
  • #3693
Closed
Open
Issue created May 27, 2004 by Peter Bortas@zinoOwner

BACKPORT: copy_value() doesn't preserve the identity relation

Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3693

Reported by @grubba

From: PeterPan <peterpan@airinbox.com>
Resent-From: pike@roxen.com
To: "pike@roxen.com" <pike@roxen.com>
Date: Thu, 27 May 2004 10:05:45 +0800
Resent-Date: Thu, 27 May 2004 04:06:11 +0200 (MEST)
Subject: seems a bug

look this:
[peterpan@server01 ~/pikenv]$pike
Pike v7.6 release 6 running Hilfe v3.5 (Incremental Pike Frontend)
> array a1=({([])})*2;a1[0]==a1[1];
(1) Result: 0
> int t=2;array a2=({([])})*t;a2[0]==a2[1];
(2) Result: 1

the items in a1 are not same, but the items in a2 are same.

Assignee
Assign to
Time tracking