Fix hhbbc|serializer handling of Func type
commiteeb7d18b7c204a787c29e1f2fbb5f99be98cfaf5
authorPaul Bissonnette <paulbiss@fb.com>
Mon, 22 Oct 2018 18:20:48 +0000 (22 11:20 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Mon, 22 Oct 2018 18:23:09 +0000 (22 11:23 -0700)
tree7bd9966c274b95545f323b03082db2da6af7df16
parent6728d3b4c15023f80fc73c9bf283e1f5d70b42d9
Fix hhbbc|serializer handling of Func type

Summary: Serialize func as though it were a string (and optionally warn) and teach hhbbc to treat the IsTypeOp for string as possibly a func.

Reviewed By: ricklavoie

Differential Revision: D10308428

fbshipit-source-id: 05f241f3f6c296fdb9c55982614b0ececd4082c6
hphp/hhbbc/emit.cpp
hphp/hhbbc/type-system.cpp
hphp/hhbbc/type-system.h
hphp/runtime/base/repo-auth-type-codec-inl.h
hphp/runtime/base/repo-auth-type-codec.cpp
hphp/runtime/base/repo-auth-type.cpp
hphp/runtime/base/repo-auth-type.h
hphp/runtime/base/variable-serializer.cpp
hphp/runtime/vm/as.cpp
hphp/runtime/vm/jit/type.cpp