Index: pkg/kernel/lib/type_propagation/builder.dart |
diff --git a/pkg/kernel/lib/type_propagation/builder.dart b/pkg/kernel/lib/type_propagation/builder.dart |
index f33e12e90dc219936b01a51af435c40b515dbd02..2ac6e19b631d99390054b4991984e70bdd17572b 100644 |
--- a/pkg/kernel/lib/type_propagation/builder.dart |
+++ b/pkg/kernel/lib/type_propagation/builder.dart |
@@ -236,7 +236,7 @@ class Builder { |
latticePointForAllFunctions = |
getLatticePointForSubtypesOfClass(coreTypes.functionClass); |
- identicalFunction = coreTypes.getCoreProcedure('dart:core', 'identical'); |
+ identicalFunction = coreTypes.getTopLevelMember('dart:core', 'identical'); |
// Seed bitmasks for built-in values. |
constraints.addBitmaskInput(ValueBit.null_, nullNode); |