Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
semdiff: drop metadata directive on the floor
Summary: the .metadata directive allows us to persist arbitrary information into the repo. This is used for things like storing the compiler version (and possibly other things) Reviewed By: nbenton Differential Revision: D6982353 fbshipit-source-id: f8c580ca512202043608f40400597ac93c2095fa
- Loading branch information
Showing
with
36 additions
and 0 deletions.
@@ -0,0 +1,14 @@ | ||
# starts here | ||
|
||
.filepath "/data/users/gregorynisbet/fbsource/fbcode/hphp/hack/test/semdiff/ignore_metadata_directive.1.hhas"; | ||
|
||
.metadata a = b; | ||
|
||
.hh_file 1; | ||
|
||
.main { | ||
Int 1 | ||
RetC | ||
} | ||
|
||
# /data/users/gregorynisbet/fbsource/fbcode/hphp/hack/test/semdiff/ignore_metadata_directive.1.hhas |
@@ -0,0 +1,12 @@ | ||
# starts here | ||
|
||
.filepath "/data/users/gregorynisbet/fbsource/fbcode/hphp/hack/test/semdiff/ignore_metadata_directive.2.hhas"; | ||
|
||
.hh_file 1; | ||
|
||
.main { | ||
Int 1 | ||
RetC | ||
} | ||
|
||
# /data/users/gregorynisbet/fbsource/fbcode/hphp/hack/test/semdiff/ignore_metadata_directive.2.hhas |