-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
返回值带 _Nonnull 的场景 case:
typedef NSObject *_Nonnull (^BarBlock)(NSObject *a);
输出的 dart 代码:
typedef NSObject _Nonnull BarBlock(NSObject a);
建议修改的位置:
// FIXME: type with _Nonnull will cause a error. Try this:
// var type = ctx.start.text
// if (type == 'void' || type == 'char') {type += ' *'}
var type = ctx.start.text + (ctx.start.start != ctx.stop.start ? ' ' + ctx.stop.text : '')
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working