File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -2971,8 +2971,11 @@ class Procedure extends Member implements GenericFunction {
2971
2971
/// Since `Super.method` allows `num` as argument, the inserted covariant
2972
2972
/// check must be against `num` and not `int` , and the parameter type of the
2973
2973
/// forwarding semi stub must be changed to `num` . Still, the interface of
2974
- /// `Class` requires that `Class.method` is `void Function(int)` , so for this,
2975
- /// it is stored explicitly as the [signatureType] on the procedure.
2974
+ /// `Class` requires that `Class.method` is `void Function(int)` , so for
2975
+ /// this, it is stored explicitly as the [signatureType] on the procedure.
2976
+ ///
2977
+ /// When [signatureType] is null, you can compute the function type with
2978
+ /// `function.computeFunctionType(Nullability.nonNullable)` .
2976
2979
FunctionType ? signatureType;
2977
2980
2978
2981
Procedure (Name name, ProcedureKind kind, FunctionNode function,
You can’t perform that action at this time.
0 commit comments