@@ -229,8 +229,8 @@ class Value
229229 version (none )
230230 Value opassign (string op)(Value v)
231231 {
232- TypeInfo ti1 = this .classinfo ;
233- TypeInfo ti2 = v.classinfo ;
232+ TypeInfo ti1 = typeid ( this ) ;
233+ TypeInfo ti2 = typeid (v) ;
234234 foreach (iv1; BasicTypeValues)
235235 {
236236 if (ti1 is typeid (iv1))
@@ -260,8 +260,8 @@ class Value
260260 version (none )
261261 Value opBinOp (string op)(Value v)
262262 {
263- TypeInfo ti1 = this .classinfo ;
264- TypeInfo ti2 = v.classinfo ;
263+ TypeInfo ti1 = typeid ( this ) ;
264+ TypeInfo ti2 = typeid (v) ;
265265 foreach (iv1; BasicTypeValues)
266266 {
267267 if (ti1 is typeid (iv1))
@@ -298,7 +298,7 @@ class Value
298298 version (none )
299299 Value opUnOp (string op)()
300300 {
301- TypeInfo ti1 = this .classinfo ;
301+ TypeInfo ti1 = typeid ( this ) ;
302302 foreach (iv1; BasicTypeValues)
303303 {
304304 if (ti1 is typeid (iv1))
@@ -338,7 +338,7 @@ class Value
338338 {
339339 Value binOp (Value v)
340340 {
341- TypeInfo ti = v.classinfo ;
341+ TypeInfo ti = typeid (v) ;
342342 foreach (iv2; Types)
343343 {
344344 if (ti is typeid (iv2))
@@ -374,7 +374,7 @@ class Value
374374 if (! mutable)
375375 return semanticErrorValue (this , " value is not mutable" );
376376
377- TypeInfo ti = v.classinfo ;
377+ TypeInfo ti = typeid (v) ;
378378 foreach (iv2; Types)
379379 {
380380 if (ti is typeid (iv2))
@@ -610,7 +610,7 @@ class ValueT(T) : Value
610610 if (! mutable) // doCast changes this value
611611 return semanticErrorValue (this , " value is not mutable" );
612612
613- TypeInfo ti = v.classinfo ;
613+ TypeInfo ti = typeid (v) ;
614614 foreach (iv2; RHS_BasicTypeValues)
615615 {
616616 if (ti is typeid (iv2))
0 commit comments