]> git.saurik.com Git - cycript.git/commitdiff
The desugaring for typedef skipped signatures.
authorJay Freeman (saurik) <saurik@saurik.com>
Sun, 12 Jan 2014 06:05:22 +0000 (22:05 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Sun, 12 Jan 2014 06:05:22 +0000 (22:05 -0800)
Replace.cpp

index 3f02fa0a38a1b22b886a6375cb34b25f76a62a8e..1ddc5c1dfd444f26840531b2f68d262fae6b1231 100644 (file)
@@ -878,7 +878,7 @@ CYExpression *CYTypeConstant::Replace_(CYContext &context, CYExpression *type) {
 }
 
 CYStatement *CYTypeDefinition::Replace(CYContext &context) {
-    return $E($ CYAssign($V(typed_->identifier_), typed_->type_->Replace(context)));
+    return $E($ CYAssign($V(typed_->identifier_), typed_->Replace(context)));
 }
 
 CYExpression *CYTypeModifier::Replace(CYContext &context, CYExpression *type) { $T(type)