Branch: Tag:

2016-11-05

2016-11-05 16:50:06 by Martin Nilsson <nilsson@fastmail.com>

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;