Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 import 'dart:mirrors'; | |
| 2 | |
| 3 import 'repo_19173/error_matchers.dart'; | |
| 4 | |
| 5 void main() { | |
| 6 ClassMirror typeMirror = reflectType(Bar); | |
| 7 var decs = typeMirror.declarations; | |
| 8 print(decs.length); | |
| 9 } | |
| 10 | |
| 11 class Bar { | |
| 12 int a; | |
| 13 } | |
| OLD | NEW |