92e97e5d1a
My previous approach was not enough, since methods can be invoked via reflection before they are parsed/compiled. This CL fixes the problem at hand, but I'd like a more general approach to mark those methods. Maybe an annotation at the declaration would be better. I also refactored the test case as suggested in the previous code review. R=srdjan@google.com Review URL: https://codereview.chromium.org//23458008 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27009 260f80e4-7a28-3924-810f-c04153c831b5