close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#669 closed defect (fixed)

Wrong full names of members of a non named NameBlock

Reported by: Víctor de Buen Remiro Owned by: Víctor de Buen Remiro
Priority: highest Milestone:
Component: Kernel Version: 1.1.7
Severity: blocker Keywords: NameBlock, FullName
Cc:

Description

Members of non named NameBlock should be equal to member name but it puts an extrage prefix name.
In version 1.1.7 it puts just "::" as prefix.
In version 2.0.1 it puts "CMsg::Coded::Diagnostics::BysMcmc::Bsr::Import::DynHlm::DBApi::Options::". which may be the full name of last used NameBlock.

You can view how aux.0 and aux.2 return wrong full names but aux.1 works fine.

Set aux.0 = SetOfNameBlock ( [[ Real t = 1 ]] ); 

Set aux.1 = For(1,3,NameBlock(Real t_)
{ a = [[
  Real t = t_
]]});

Set aux.2 = For(1,3,NameBlock(Real t_)
{ [[
  Real t = t_
]]});

Text name.0 = Name((aux.0[1])::t);
Text fullName.0 = FullName((aux.0[1])::t);
Text name.1 = Name((aux.1[1])::t);
Text fullName.1 = FullName((aux.1[1])::t);
Text name.2 = Name((aux.2[1])::t);
Text fullName.2 = FullName((aux.2[1])::t);

Change History (2)

comment:1 Changed 16 years ago by Víctor de Buen Remiro

Resolution: fixed
Status: newclosed

(In [830]) Fixes #669

comment:2 Changed 16 years ago by Víctor de Buen Remiro

(In [831]) Fixes #669

Note: See TracTickets for help on using tickets.