| { |
| "bindings": { |
| "dart": { |
| "starting_fidl": "step_00_before", |
| "starting_src": "dart/step_00_before.dart", |
| "steps": [ |
| { |
| "instructions": [ |
| "Update writers to stop producing new instances of the soon-to-be-removed variant.", |
| "Remove references to the soon-to-be-removed variant from any switch statements on the union tag. These must be temporarily handled as part of a default case." |
| ], |
| "source": "dart/step_01_during.dart", |
| "step_num": 1 |
| }, |
| { |
| "fidl": "step_02_after", |
| "step_num": 2 |
| }, |
| { |
| "instructions": [ |
| "The default case can now be removed from any switch statements on the union tag." |
| ], |
| "source": "dart/step_03_after.dart", |
| "step_num": 3 |
| } |
| ] |
| }, |
| "go": { |
| "starting_fidl": "step_00_before", |
| "starting_src": "go/step_00_before/step_00_before.go", |
| "steps": [ |
| { |
| "instructions": [ |
| "Update writers to stop producing new instances of the soon-to-be-removed variant.", |
| "Remove references to the soon-to-be-removed variant from any switch statements on the union tag. These must be temporarily handled as part of a default case." |
| ], |
| "source": "go/step_01_during/step_01_during.go", |
| "step_num": 1 |
| }, |
| { |
| "fidl": "step_02_after", |
| "step_num": 2 |
| }, |
| { |
| "instructions": [ |
| "The default case can now be removed from any switch statements on the union tag." |
| ], |
| "source": "go/step_03_after/step_03_after.go", |
| "step_num": 3 |
| } |
| ] |
| }, |
| "hlcpp": { |
| "starting_fidl": "step_00_before", |
| "starting_src": "hlcpp/step_00_before.cc", |
| "steps": [ |
| { |
| "instructions": [ |
| "Update writers to stop producing new instances of the soon-to-be-removed variant.", |
| "Remove references to the soon-to-be-removed variant from any switch statements on the union tag. These must be temporarily handled as part of a default case." |
| ], |
| "source": "hlcpp/step_01_during.cc", |
| "step_num": 1 |
| }, |
| { |
| "fidl": "step_02_after", |
| "step_num": 2 |
| }, |
| { |
| "instructions": [ |
| "The default case can now be removed from any switch statements on the union tag." |
| ], |
| "source": "hlcpp/step_03_after.cc", |
| "step_num": 3 |
| } |
| ] |
| }, |
| "llcpp": { |
| "starting_fidl": "step_00_before", |
| "starting_src": "llcpp/step_00_before.cc", |
| "steps": [ |
| { |
| "instructions": [ |
| "Update writers to stop producing new instances of the soon-to-be-removed variant.", |
| "Remove references to the soon-to-be-removed variant from any switch statements on the union tag. These must be temporarily handled as part of a default case." |
| ], |
| "source": "llcpp/step_01_during.cc", |
| "step_num": 1 |
| }, |
| { |
| "fidl": "step_02_after", |
| "step_num": 2 |
| }, |
| { |
| "instructions": [ |
| "The default case can now be removed from any switch statements on the union tag." |
| ], |
| "source": "llcpp/step_03_after.cc", |
| "step_num": 3 |
| } |
| ] |
| }, |
| "rust": { |
| "starting_fidl": "step_00_before", |
| "starting_src": "rust/step_00_before.rs", |
| "steps": [ |
| { |
| "instructions": [ |
| "Update writers to stop producing new instances of the soon-to-be-removed variant.", |
| "Remove references to the soon-to-be-removed variant from any match statements on the union. These must be temporarily handled as part of a default catch-all case." |
| ], |
| "source": "rust/step_01_during.rs", |
| "step_num": 1 |
| }, |
| { |
| "fidl": "step_02_after", |
| "step_num": 2 |
| }, |
| { |
| "instructions": [ |
| "The catch-all case can now be removed from any match statements on the union." |
| ], |
| "source": "rust/step_03_after.rs", |
| "step_num": 3 |
| } |
| ] |
| } |
| }, |
| "fidl": { |
| "step_00_before": { |
| "instructions": [], |
| "source": "fidl/step_00_before.test.fidl" |
| }, |
| "step_02_after": { |
| "instructions": [ |
| "Remove the union variant" |
| ], |
| "source": "fidl/step_02_after.test.fidl" |
| } |
| }, |
| "title": "Remove union member" |
| } |