Never allow typedefs with the same names as classes
commitf828a7af6d564df7a2923d0abf388d3c6f060f1b
authorJordan DeLong <jdelong@fb.com>
Thu, 20 Jun 2013 23:13:14 +0000 (20 16:13 -0700)
committerSara Golemon <sgolemon@fb.com>
Thu, 27 Jun 2013 17:50:13 +0000 (27 10:50 -0700)
tree34fe80ce91628f473ea6307a17b053bf3bf88389
parentc4550d2b2415fd78e40c9b7165918e06f0a017e0
Never allow typedefs with the same names as classes

Right now, we allowed it as long as the typedef was for the
same class.  (Oversight.)  This involved a few error message changes
in existing tests.
hphp/runtime/vm/unit.cpp
hphp/test/quick/typedef_duplicate3.php.expectf
hphp/test/quick/typedef_duplicate4.php.expectf
hphp/test/quick/typedef_unique.php [new file with mode: 0644]
hphp/test/quick/typedef_unique.php.expectf [new file with mode: 0644]