projects
/
app.Builder.js
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests/enum.vala
[app.Builder.js]
/
tests
/
TestCompiler.vala
diff --git
a/tests/TestCompiler.vala
b/tests/TestCompiler.vala
index
655600b
..
7c23d11
100644
(file)
--- a/
tests/TestCompiler.vala
+++ b/
tests/TestCompiler.vala
@@
-157,9
+157,13
@@
namespace Palete {
#endif
*/
#endif
*/
+
+
+ context.resolver.resolve(new Vala.CodeContext());
+ context.analyzer.context = null;
+ context.flow_analyzer.analyze(new Vala.CodeContext());
+ //context.analyzer = null; << private
Vala.CodeContext.pop ();
Vala.CodeContext.pop ();
- //(new Vala.CodeNode()).get_error_types().clear();
- //(new Vala.NullType()).get_type_arguments().clear();
print("%s\n", valac);
print("ALL OK?\n");
print("%s\n", valac);
print("ALL OK?\n");
@@
-175,8
+179,8
@@
namespace Palete {
int main (string[] args) {
for (var i = 0;i < 1000;i++) {
int main (string[] args) {
for (var i = 0;i < 1000;i++) {
- var a = new Palete.TestCompiler(
file
);
- a.c
ompile
String();
+ var a = new Palete.TestCompiler(
"/home/alan/gitlive/app.Builder.js/tests/TestCompiler.vala"
);
+ a.c
heck
String();
}
return 0;
}
}
return 0;
}