pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2016-11-05
2016-11-05 16:50:06 by Martin Nilsson <nilsson@fastmail.com>
300d02afe7ae602f572e2a26149422258e439832 (
6
lines) (+
4
/-
2
)
[
Show
|
Annotate
]
Branch:
8.1
Fix a few instances of dot indexing on dynamic values.
695:
auto b = typeof(a); }; string test() {
-
return sprintf("a%Ob%O", typeof(Foo()
.
a),typeof(Foo()
.
b));
+
return sprintf("a%Ob%O", typeof(Foo()
->
a),typeof(Foo()
->
b));
}; }; return Toplevel()->test();
707:
auto test(){ return 10;return 20;return 30; }; }; string test() {
-
return sprintf("%O", typeof(Foo()
.
test));
+
return sprintf("%O", typeof(Foo()
->
test));
} }; return Toplevel()->test()-" ";
3293:
]]) test_any([[
+
#pragma dynamic_dot
// Test dynamic module indexing. object protocols = Protocols; return protocols.HTTP.get_url_data;