Diff
Not logged in

Differences From Artifact [a4ea515a0f014c9c]:

To Artifact [f9cdaf211a0e9fb0]:


50 50 unittest 51 51 { 52 52 auto p = new LexPosition("hello.cpp", 123, 45); 53 53 54 54 assert_eq( p.filename, "hello.cpp" ); 55 55 assert_eq( p.lineno, 123 ); 56 56 assert_eq( p.column, 45 ); 57 - assert_eq( to!string(p), "hello.cpp:123:45" ); 57 + assert_eq( text(p), "hello.cpp:123:45" ); 58 58 59 59 assert( !__traits(compiles, new LexPosition) ); 60 60 assert( !__traits(compiles, p.filename="foo") ); 61 61 assert( !__traits(compiles, p.lineno =789) ); 62 62 assert( !__traits(compiles, p.column =222) ); 63 63 64 64 auto q = new LexPosition("hello.cpp", 123, 46);