summaryrefslogtreecommitdiff
path: root/MLKRoot.m
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <matthias@benkard.de>2008-08-06 20:30:23 +0200
committerMatthias Andreas Benkard <matthias@benkard.de>2008-08-06 20:30:23 +0200
commit22a297ed98d667f66931a2031acbf748677bd01d (patch)
treedffd80d87076e709a85b3007f8ad8cd3ff67f76b /MLKRoot.m
parent30c1591ec870d8ebb7f2d0562c54aa88cd149693 (diff)
Implement MLKArray#-setSize:ofDimension:.
Diffstat (limited to 'MLKRoot.m')
-rw-r--r--MLKRoot.m7
1 files changed, 5 insertions, 2 deletions
diff --git a/MLKRoot.m b/MLKRoot.m
index 80ba4ab..8add77e 100644
--- a/MLKRoot.m
+++ b/MLKRoot.m
@@ -425,8 +425,11 @@ static id truify (BOOL value)
suffix = MLKPrintToString(x);
}
else
- [NSException raise:@"MLKTypeError"
- format:@"%@ is not of type (OR INTEGER STRING).", x];
+ {
+ [NSException raise:@"MLKTypeError"
+ format:@"%@ is not of type (OR INTEGER STRING).", x];
+ return nil;
+ }
}
else
{