File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -229,6 +229,7 @@ void TopLevelCodeDecl_dump(void *);
229
229
void Expr_dump (void * );
230
230
void Decl_dump (void * );
231
231
void Stmt_dump (void * );
232
+ void Type_dump (void * );
232
233
233
234
#ifdef __cplusplus
234
235
}
Original file line number Diff line number Diff line change @@ -495,3 +495,4 @@ void TopLevelCodeDecl_dump(void *decl) {
495
495
void Expr_dump (void *expr) { ((Expr *)expr)->dump (llvm::errs ()); }
496
496
void Decl_dump (void *expr) { ((Decl *)expr)->dump (llvm::errs ()); }
497
497
void Stmt_dump (void *expr) { ((Stmt *)expr)->dump (llvm::errs ()); }
498
+ void Type_dump (void *expr) { ((TypeRepr *)expr)->dump (); }
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ extension ASTGenVisitor {
137
137
returnType = nil
138
138
}
139
139
140
- let params = node. signature. input. parameterList. map { visit ( $0) }
140
+ let params = node. signature. input. parameterList. map { visit ( $0) . rawValue }
141
141
return . decl(
142
142
params. withBridgedArrayRef { ref in
143
143
FuncDecl_create (
You can’t perform that action at this time.
0 commit comments