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

Unified Diff: pkg/compiler/lib/src/types/types.dart

Issue 1371193004: Add bool value types to type inference. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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
Index: pkg/compiler/lib/src/types/types.dart
diff --git a/pkg/compiler/lib/src/types/types.dart b/pkg/compiler/lib/src/types/types.dart
index b99a368e598efd939a9b78935bc8fb0b51ea27a5..9858a6e1066fe8cf00ef8bb74d1b7450d263a506 100644
--- a/pkg/compiler/lib/src/types/types.dart
+++ b/pkg/compiler/lib/src/types/types.dart
@@ -266,7 +266,7 @@ class TypesTask extends CompilerTask {
return result;
}
- /** Returns true if [type1] is strictly bettern than [type2]. */
+ /** Returns true if [type1] is strictly better than [type2]. */
bool better(TypeMask type1, TypeMask type2) {
if (type1 == null) return false;
if (type2 == null) {

Powered by Google App Engine
This is Rietveld 408576698