Log Message:
-----------
Fixed mad error message (change needed due to new message translation
facility).
Modified Files:
--------------
pg/lib:
Value.pm
Revision Data
-------------
Index: Value.pm
===================================================================
RCS file: /webwork/cvs/system/pg/lib/Value.pm,v
retrieving revision 1.42
retrieving revision 1.43
diff -Llib/Value.pm -Llib/Value.pm -u -r1.42 -r1.43
--- lib/Value.pm
+++ lib/Value.pm
@@ -256,7 +256,7 @@
elsif ($type eq 'Infinity') {$type = $Value::Type{infinity}}
elsif ($type eq 'value' || $type eq 'Formula') {$type = $value->typeRef}
elsif ($type eq 'unknown') {
- $equation->Error("Can't convert %s to a constant",Value::showClass($value));
+ $equation->Error(["Can't convert %s to a constant",Value::showClass($value)]);
} else {
$type = 'Value::'.$type, $value = $type->new(@{$value});
$type = $value->typeRef;
|