Commit 3a73f32
[vm,mirrors] reflectClass: throw ArgumentError for function and record types
TEST=tests/lib/mirrors/reflect_class_test.dart
Fixes #59863
Change-Id: Ic9ab394da9abeb7f793556a4827a496c372576a0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/403620
Reviewed-by: Alexander Aprelev <[email protected]>
Commit-Queue: Alexander Markov <[email protected]>1 parent 742850f commit 3a73f32
File tree
2 files changed
+9
-11
lines changed- runtime/lib
- tests/lib/mirrors
2 files changed
+9
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
756 | 756 | | |
757 | 757 | | |
758 | 758 | | |
759 | | - | |
760 | | - | |
761 | | - | |
762 | | - | |
763 | | - | |
764 | | - | |
| 759 | + | |
| 760 | + | |
765 | 761 | | |
766 | 762 | | |
767 | 763 | | |
| 764 | + | |
| 765 | + | |
768 | 766 | | |
769 | 767 | | |
770 | 768 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | 5 | | |
9 | 6 | | |
10 | 7 | | |
11 | 8 | | |
12 | 9 | | |
| 10 | + | |
| 11 | + | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
16 | | - | |
17 | | - | |
| 15 | + | |
| 16 | + | |
18 | 17 | | |
| 18 | + | |
19 | 19 | | |
0 commit comments