Commit 90d7b5c
Allow non-abstract type constants from interfaces to be overriden
Summary:
The runtime allows this, and it seems to be the desired behavior for now.
Without this diff, HHVM could throw a static-analysis error.
Reviewed By: vassilmladenov
Differential Revision: D38561777
fbshipit-source-id: 10f60e60732c014fe5897afd87bc5b9e918203c01 parent 7c9ac8f commit 90d7b5c
File tree
5 files changed
+26
-5
lines changed- hphp
- hhbbc
- test/slow
- constants
- hhbbc
5 files changed
+26
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2515 | 2515 | | |
2516 | 2516 | | |
2517 | 2517 | | |
2518 | | - | |
2519 | | - | |
2520 | | - | |
| 2518 | + | |
| 2519 | + | |
| 2520 | + | |
| 2521 | + | |
2521 | 2522 | | |
2522 | 2523 | | |
2523 | 2524 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments