@@ -48,7 +48,7 @@ NOTE(extended_type_declared_here,none,
48
48
" extended type declared here" , ())
49
49
50
50
// ------------------------------------------------------------------------------
51
- // Constraint solver diagnostics
51
+ // MARK: Constraint solver diagnostics
52
52
// ------------------------------------------------------------------------------
53
53
54
54
ERROR(ambiguous_member_overload_set,none,
@@ -547,7 +547,7 @@ ERROR(cannot_return_value_from_void_func,none,
547
547
" unexpected non-void return value in void function" , ())
548
548
549
549
// ------------------------------------------------------------------------------
550
- // Name Binding
550
+ // MARK: Name Binding
551
551
// ------------------------------------------------------------------------------
552
552
553
553
ERROR(sema_no_import,Fatal,
@@ -767,14 +767,14 @@ NOTE(previous_precedence_group_decl,none,
767
767
" previous precedence group declaration here" , ())
768
768
769
769
// ------------------------------------------------------------------------------
770
- // Type Check Coercions
770
+ // MARK: Type Check Coercions
771
771
// ------------------------------------------------------------------------------
772
772
773
773
ERROR(tuple_conversion_not_expressible,none,
774
774
" cannot express tuple conversion %0 to %1" , (Type, Type))
775
775
776
776
// ------------------------------------------------------------------------------
777
- // Expression Type Checking Errors
777
+ // MARK: Expression Type Checking Errors
778
778
// ------------------------------------------------------------------------------
779
779
ERROR(types_not_convertible,none,
780
780
" %1 is not %select{convertible to|a subtype of}0 %2" ,
@@ -1009,7 +1009,7 @@ ERROR(c_function_pointer_from_function_with_context,none,
1009
1009
(bool , unsigned ))
1010
1010
1011
1011
// ------------------------------------------------------------------------------
1012
- // Type Check Declarations
1012
+ // MARK: Type Check Declarations
1013
1013
// ------------------------------------------------------------------------------
1014
1014
1015
1015
ERROR(var_type_not_materializable,none,
@@ -2295,7 +2295,7 @@ ERROR(property_behavior_conformance_broken,none,
2295
2295
" property behavior for %0 in type %1 is broken" , (DeclName, Type))
2296
2296
2297
2297
// ------------------------------------------------------------------------------
2298
- // Type Check Attributes
2298
+ // MARK: Type Check Attributes
2299
2299
// ------------------------------------------------------------------------------
2300
2300
2301
2301
ERROR(attr_only_one_decl_kind,none,
@@ -2437,7 +2437,7 @@ ERROR(implements_attr_protocol_not_conformed_to,none,
2437
2437
(DeclName, DeclName))
2438
2438
2439
2439
// ------------------------------------------------------------------------------
2440
- // Type Check Expressions
2440
+ // MARK: Type Check Expressions
2441
2441
// ------------------------------------------------------------------------------
2442
2442
2443
2443
NOTE(found_candidate,none,
@@ -2903,7 +2903,7 @@ ERROR(capture_across_type_decl,none,
2903
2903
(DescriptiveDeclKind, Identifier))
2904
2904
2905
2905
// ------------------------------------------------------------------------------
2906
- // Type Check Statements
2906
+ // MARK: Type Check Statements
2907
2907
// ------------------------------------------------------------------------------
2908
2908
2909
2909
ERROR(jump_out_of_defer,none,
@@ -3042,7 +3042,7 @@ ERROR(trailing_closure_requires_parens,none,
3042
3042
" context" , ())
3043
3043
3044
3044
// ------------------------------------------------------------------------------
3045
- // Type Check Patterns
3045
+ // MARK: Type Check Patterns
3046
3046
// ------------------------------------------------------------------------------
3047
3047
3048
3048
ERROR(cannot_infer_type_for_pattern,none,
@@ -3129,7 +3129,7 @@ WARNING(swift3_ignore_specialized_enum_element_call,none,
3129
3129
" which will be rejected in future version of Swift" , ())
3130
3130
3131
3131
// ------------------------------------------------------------------------------
3132
- // Error-handling diagnostics
3132
+ // MARK: Error-handling diagnostics
3133
3133
// ------------------------------------------------------------------------------
3134
3134
3135
3135
@@ -3205,7 +3205,7 @@ WARNING(no_throw_in_do_with_catch,none,
3205
3205
" 'catch' block is unreachable because no errors are thrown in 'do' block" , ())
3206
3206
3207
3207
// ------------------------------------------------------------------------------
3208
- // Type Check Types
3208
+ // MARK: Type Check Types
3209
3209
// ------------------------------------------------------------------------------
3210
3210
3211
3211
ERROR(unsupported_recursive_struct,none,
@@ -3363,7 +3363,7 @@ ERROR(sil_metatype_multiple_reprs,none,
3363
3363
())
3364
3364
3365
3365
// ------------------------------------------------------------------------------
3366
- // @objc and @nonobjc
3366
+ // MARK: @objc and @nonobjc
3367
3367
// ------------------------------------------------------------------------------
3368
3368
3369
3369
ERROR(objc_interop_disabled,none,
@@ -3665,7 +3665,7 @@ ERROR(nonobjc_not_allowed,none,
3665
3665
#undef OBJC_ATTR_SELECT
3666
3666
3667
3667
// ------------------------------------------------------------------------------
3668
- // dynamic
3668
+ // MARK: dynamic
3669
3669
// ------------------------------------------------------------------------------
3670
3670
3671
3671
ERROR (dynamic_not_in_class,none,
@@ -3681,7 +3681,7 @@ ERROR(dynamic_requires_objc,none,
3681
3681
(DescriptiveDeclKind, DeclName))
3682
3682
3683
3683
// ------------------------------------------------------------------------------
3684
- // @available
3684
+ // MARK: @available
3685
3685
// ------------------------------------------------------------------------------
3686
3686
3687
3687
ERROR(availability_decl_unavailable, none,
@@ -3806,15 +3806,15 @@ ERROR(availabilty_string_subscript_migration, none,
3806
3806
" subscripts returning String were obsoleted in Swift 4; explicitly construct a String from subscripted result" , ())
3807
3807
3808
3808
// ------------------------------------------------------------------------------
3809
- // @discardableResult
3809
+ // MARK: @discardableResult
3810
3810
// ------------------------------------------------------------------------------
3811
3811
3812
3812
WARNING(discardable_result_on_void_never_function, none,
3813
3813
" @discardableResult declared on a function returning %select{Never|Void}0 is unnecessary" ,
3814
3814
(bool ))
3815
3815
3816
3816
// ------------------------------------------------------------------------------
3817
- // Resilience diagnostics
3817
+ // MARK: Resilience diagnostics
3818
3818
// ------------------------------------------------------------------------------
3819
3819
3820
3820
ERROR(fixed_layout_attr_on_internal_type,
@@ -3878,7 +3878,7 @@ ERROR(inlinable_decl_not_public,
3878
3878
(DeclBaseName, AccessLevel))
3879
3879
3880
3880
// ------------------------------------------------------------------------------
3881
- // @_specialize diagnostics
3881
+ // MARK: @_specialize diagnostics
3882
3882
// ------------------------------------------------------------------------------
3883
3883
3884
3884
ERROR(specialize_attr_nongeneric_trailing_where,none,
@@ -3907,7 +3907,7 @@ ERROR(specialize_attr_unsupported_kind_of_req,none,
3907
3907
" Only same-type and layout requirements are supported by '_specialize' attribute" , ())
3908
3908
3909
3909
// ------------------------------------------------------------------------------
3910
- // Variable usage diagnostics
3910
+ // MARK: Variable usage diagnostics
3911
3911
// ------------------------------------------------------------------------------
3912
3912
3913
3913
WARNING(pbd_never_used_stmtcond, none,
@@ -3947,7 +3947,7 @@ WARNING(variable_never_read, none,
3947
3947
(Identifier, unsigned ))
3948
3948
3949
3949
// ------------------------------------------------------------------------------
3950
- // Circular reference diagnostics
3950
+ // MARK: Circular reference diagnostics
3951
3951
// ------------------------------------------------------------------------------
3952
3952
ERROR(circular_reference, none,
3953
3953
" circular reference" , ())
@@ -3959,7 +3959,7 @@ NOTE(circular_reference_through, none,
3959
3959
" through reference here" , ())
3960
3960
3961
3961
// ------------------------------------------------------------------------------
3962
- // Debug diagnostics
3962
+ // MARK: Debug diagnostics
3963
3963
// ------------------------------------------------------------------------------
3964
3964
3965
3965
WARNING(debug_long_function_body, none,
@@ -3973,7 +3973,7 @@ WARNING(debug_long_expression, none,
3973
3973
(unsigned , unsigned ))
3974
3974
3975
3975
// ------------------------------------------------------------------------------
3976
- // Pattern match diagnostics
3976
+ // MARK: Pattern match diagnostics
3977
3977
// ------------------------------------------------------------------------------
3978
3978
3979
3979
0 commit comments