File tree Expand file tree Collapse file tree 3 files changed +27
-3
lines changed Expand file tree Collapse file tree 3 files changed +27
-3
lines changed Original file line number Diff line number Diff line change @@ -543,7 +543,7 @@ Return nil otherwise."
543543 '(" associatedtype" " class" " deinit" " enum" " extension" " fileprivate" " func"
544544 " import" " init" " inout" " internal" " let" " open" " operator" " private"
545545 " protocol" " public" " any" " some" " static" " struct" " subscript" " typealias"
546- " var" " actor" " nonisolated" " isolated" )
546+ " var" " actor" " nonisolated" " isolated" " distributed " )
547547 " Keywords used in declarations." )
548548
549549(defconst swift-mode:statement-keywords
Original file line number Diff line number Diff line change @@ -484,7 +484,8 @@ Return nil otherwise."
484484 '(" indirect" " convenience" " dynamic" " final" " infix" " lazy"
485485 " mutating" " nonmutating" " optional" " override" " postfix"
486486 " prefix" " required" " static" " unowned" " weak" " internal"
487- " private" " public" " open" " fileprivate" " nonisolated" ))
487+ " private" " public" " open" " fileprivate" " nonisolated"
488+ " distributed" ))
488489 nil )
489490
490491 ; ; internal(set) private(set) public(set) open(set) fileprivate(set)
@@ -517,7 +518,8 @@ Return nil otherwise."
517518 '(" indirect" " convenience" " dynamic" " final" " infix" " lazy"
518519 " mutating" " nonmutating" " optional" " override" " postfix"
519520 " prefix" " required" " static" " unowned" " weak" " internal"
520- " private" " public" " open" " fileprivate" " nonisolated" ))
521+ " private" " public" " open" " fileprivate" " nonisolated"
522+ " distributed" ))
521523 t )
522524
523525 ; ; Inserts implicit semicolon around keywords that forms single keyword
Original file line number Diff line number Diff line change @@ -627,6 +627,28 @@ fileprivate
627627 func foo( )
628628}
629629
630+ @A
631+ distributed
632+ actor
633+ Foo {
634+ distributed
635+ func
636+ foo( ) {
637+ }
638+
639+ distributed
640+ func
641+ foo( ) {
642+ }
643+
644+ distributed
645+ var
646+ foo
647+ :
648+ Int {
649+ }
650+ }
651+
630652
631653// Protocol declarations
632654
You can’t perform that action at this time.
0 commit comments