File tree Expand file tree Collapse file tree 2 files changed +0
-17
lines changed Expand file tree Collapse file tree 2 files changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,6 @@ const List<ErrorCode> errorCodeValues = const [
156156 CompileTimeErrorCode .FIELD_INITIALIZER_REDIRECTING_CONSTRUCTOR ,
157157 CompileTimeErrorCode .FINAL_INITIALIZED_MULTIPLE_TIMES ,
158158 CompileTimeErrorCode .FOR_IN_WITH_CONST_VARIABLE ,
159- CompileTimeErrorCode .GENERIC_FUNCTION_TYPED_PARAM_UNSUPPORTED ,
160159 CompileTimeErrorCode .GENERIC_FUNCTION_TYPE_CANNOT_BE_BOUND ,
161160 CompileTimeErrorCode .GENERIC_FUNCTION_TYPE_CANNOT_BE_TYPE_ARGUMENT ,
162161 CompileTimeErrorCode .IF_ELEMENT_CONDITION_FROM_DEFERRED_LIBRARY ,
Original file line number Diff line number Diff line change @@ -2008,22 +2008,6 @@ class CompileTimeErrorCode extends AnalyzerErrorCode {
20082008 correction: "Try removing type parameters from the generic function "
20092009 "type, or using 'dynamic' as the type argument here." );
20102010
2011- /**
2012- * Temporary error to work around dartbug.com/28515.
2013- *
2014- * We cannot yet properly summarize function-typed parameters with generic
2015- * arguments, so to prevent confusion, we produce an error for any such
2016- * constructs (regardless of whether summaries are in use).
2017- *
2018- * TODO(paulberry): remove this once dartbug.com/28515 is fixed.
2019- */
2020- static const CompileTimeErrorCode GENERIC_FUNCTION_TYPED_PARAM_UNSUPPORTED =
2021- const CompileTimeErrorCode ('GENERIC_FUNCTION_TYPED_PARAM_UNSUPPORTED' ,
2022- "Analysis of generic function typed parameters isn't yet supported." ,
2023- correction:
2024- "Try using an explicit typedef, or changing type parameters to "
2025- "`dynamic`." );
2026-
20272011 static const CompileTimeErrorCode IF_ELEMENT_CONDITION_FROM_DEFERRED_LIBRARY =
20282012 const CompileTimeErrorCode (
20292013 'IF_ELEMENT_CONDITION_FROM_DEFERRED_LIBRARY' ,
You can’t perform that action at this time.
0 commit comments