Commit 70640c6
add new visibility mode to schema
Summary:
Hack dbs are broken https://www.internalfb.com/sandcastle/workflow/3855081281038068005
```
DB create failure: Exception {exception_message = "Error in fact. Expecting an expression of type:\n enum { Private | Protected | Public | Internal | }\nwhich should be of the form:\n number (< 4)\nin JSON term:\n 4\nin JSON term:\n {\"id\":39193,\"key\":{\"declaration\":{\"id\":39191},\"signature\":{\"key\":{\"returnsTypeInfo\":{\"id\":39192},\"contexts\":[{\"key\":\"HH\\\\Contexts\\\\write_props\"}],\"returns\":{\"key\":\"EntSchemaConfig\"},\"parameters\":[]}},\"visibility\":4,\"isAbstract\":false,\"isAsync\":false,\"isFinal\":true,\"isStatic\":false,\"attributes\":[{\"key\":{\"name\":{\"key\":\"__Override\"},\"parameters\":[]}}],\"typeParams\":[]}}\NUL"}
```
This means that the visibility "4" is out of bounds.
This new value has been added manually here https://fburl.com/code/65e2eb2g but this should have been generated from the schema using the instruction at the top of the file.
Updating the schema should fix it.
Follow-up: regenerate the hack.ml binding from the code (even though it's probably a noop)
Reviewed By: simonhollis, malanka
Differential Revision: D78743083
fbshipit-source-id: b771226d52b2d5ade257256a0b81c6eaec8d94ec1 parent 67202db commit 70640c6
2 files changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| |||
455 | 455 | | |
456 | 456 | | |
457 | 457 | | |
| 458 | + | |
458 | 459 | | |
459 | 460 | | |
460 | 461 | | |
| |||
472 | 473 | | |
473 | 474 | | |
474 | 475 | | |
| 476 | + | |
475 | 477 | | |
476 | 478 | | |
477 | 479 | | |
| |||
680 | 682 | | |
681 | 683 | | |
682 | 684 | | |
| 685 | + | |
683 | 686 | | |
684 | 687 | | |
685 | 688 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
0 commit comments