Skip to content

Commit

Permalink
swift-module-digester: use "stored property" instead of "fixed layout…
Browse files Browse the repository at this point in the history
… order" in diagnostics.
  • Loading branch information
nkcsgexi committed Oct 2, 2018
1 parent 784cb9e commit 9364415
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/swift/AST/DiagnosticsModuleDiffer.def
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ ERROR(decl_reorder,none,"%0 in a non-resilient type changes position from %1 to

ERROR(decl_added,none,"%0 is added to a non-resilient type", (StringRef))

ERROR(decl_has_fixed_order_change,none,"%0 is %select{now|no longer}1 a property with fixed layout order", (StringRef, bool))
ERROR(decl_has_fixed_order_change,none,"%0 is %select{now|no longer}1 a stored property", (StringRef, bool))

ERROR(default_arg_removed,none,"%0 has removed default argument from %1", (StringRef, StringRef))

Expand Down
4 changes: 2 additions & 2 deletions test/api-digester/Outputs/Cake-abi.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ cake1: EnumElement FrozenKind.Fixed in a non-resilient type changes position fro
cake1: EnumElement FrozenKind.Rigid in a non-resilient type changes position from 2 to 1
cake1: Var fixedLayoutStruct.a in a non-resilient type changes position from 1 to 0
cake1: Var fixedLayoutStruct.b in a non-resilient type changes position from 0 to 1
cake1: Var fixedLayoutStruct2.BecomeFixedBinaryOrder is now a property with fixed layout order
cake1: Var fixedLayoutStruct2.NoLongerWithFixedBinaryOrder is no longer a property with fixed layout order
cake1: Var fixedLayoutStruct2.BecomeFixedBinaryOrder is now a stored property
cake1: Var fixedLayoutStruct2.NoLongerWithFixedBinaryOrder is no longer a stored property
cake2: EnumElement FrozenKind.AddedCase is added to a non-resilient type
cake2: Var fixedLayoutStruct.c is added to a non-resilient type
cake2: Var fixedLayoutStruct.lazy_d.storage is added to a non-resilient type
Expand Down

0 comments on commit 9364415

Please sign in to comment.