#66 closed defect (fixed)
use of -> operator in select function
Reported by: | Javier Portugal | Owned by: | Jorge |
---|---|---|---|
Priority: | highest | Milestone: | |
Component: | Kernel | Version: | head |
Severity: | blocker | Keywords: | |
Cc: |
Description
This code:
Struct AlgOpc
{
Text IdOpc,
Set SubDims
};
Set algOpc = SetOfSet(AlgOpc("PL",SetOfText("y2002m07d01","y2002m07d31")));
Set selPla = Select(algOpc, Real (Set reg) { reg->IdOpc == "PL" });
gives that error message:
ERROR: -> no es un operador de tipo Set
ERROR: Argumentos erróneos para Real == (Anything var1, Anything var2)
ERROR: Fallo en la función
ERROR: Condición mal definida para la función Select.
but it worked perfectly in old versions
Change History (3)
comment:1 Changed 21 years ago by
Status: | new → assigned |
---|
comment:2 Changed 21 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 Changed 18 years ago by
bug_file_loc: | → http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000066 |
---|
Note: See
TracTickets for help on using
tickets.
the solution can be downloaded from CVS.