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 11 years ago

Last modified 11 years ago

#1732 new defect

Problema con #Embed: TOL cae

Reported by: Pedro Gea Owned by: Víctor de Buen Remiro
Priority: high Milestone: Mantainance
Component: Kernel Version: 3.1
Severity: normal Keywords:
Cc:

Description

Una variante del ejemplo expuesto en #1731 incluso hace caer el proceso TOL:

Class @A { Static Real void = 1 };

@A n = [[
  #Embed "b.tol";
  #Embed "c.tol"
]];
// => Tira TOL

con:

// b.tol
Real b = 1;
Real If(False, ?);

y:

// c.tol
Real c = 1;

Sin embargo, el ejemplo ya incrustado:

Class @A { Static Real void = 1 };

@A n = [[
  Real b = 1;
  Real If(False, ?);
  Real c = 1
]];

sólo produce errores:

ERROR: [1] No se pudo crear la instancia n de la clase @A debido a que hay miembros no implementados :
  Real n::If(False, ?)


Warning: [1] NameBlock n se ha construido con 1 errores.

ERROR: [2] n no se pudo crear.

Attachments (1)

Embed04.zip (558 bytes) - added by Pedro Gea 11 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 11 years ago by Pedro Gea

Se adjunta el ejemplo.

Changed 11 years ago by Pedro Gea

Attachment: Embed04.zip added

comment:2 Changed 11 years ago by Jorge

(In [6012]) refs #1732, codigo de prueba del ticket

comment:3 Changed 11 years ago by Jorge

(In [6013]) refs #1732, se corrige el summary_

Note: See TracTickets for help on using tickets.