JET-180 Rename typeof to typeinfo, type or make it a function

This commit is contained in:
Andrey Breslav
2011-07-08 20:27:40 +04:00
parent 7ae58d2efb
commit d4020a422b
16 changed files with 300 additions and 428 deletions
@@ -86,8 +86,8 @@ public class JetTypeCheckerTest extends LightDaemonAnalyzerTestCase {
}
public void testTypeInfo() throws Exception {
assertType("typeof(1)", "typeinfo.TypeInfo<Int>");
assertType("typeof(typeof(1))", "typeinfo.TypeInfo<typeinfo.TypeInfo<Int>>");
assertType("typeinfo.typeinfo<Int>", "typeinfo.TypeInfo<Int>");
assertType("typeinfo.typeinfo<typeinfo.TypeInfo<Int>>", "typeinfo.TypeInfo<typeinfo.TypeInfo<Int>>");
}
public void testJumps() throws Exception {