Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Unified Diff: tests/language/runtime_type_test.dart

Issue 1217323002: Intrinsic version of Object.runtimeType (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: more Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/raw_object.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/runtime_type_test.dart
diff --git a/tests/language/runtime_type_test.dart b/tests/language/runtime_type_test.dart
index 03c4576e9d06f210ff7b6e6880d4258da38ad561..fb35329333186f9c8af316ba1490ec5d8318961b 100644
--- a/tests/language/runtime_type_test.dart
+++ b/tests/language/runtime_type_test.dart
@@ -10,4 +10,5 @@ class A {
main() {
Expect.isTrue(new A().className is Type);
+ Expect.isTrue(null.runtimeType is Type);
regis 2015/07/01 01:45:56 Great. You could also add null.runtimeType is Null
srdjan 2015/07/01 16:15:39 'null.runtimeType is Null' is always false. Instea
}
« no previous file with comments | « runtime/vm/raw_object.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698