Index: runtime/lib/errors_patch.dart |
diff --git a/runtime/lib/errors_patch.dart b/runtime/lib/errors_patch.dart |
index 596df086c2918d8d393b9248f8223ac95acd63bd..d4bf0e78f6fe8fce555d82eff0bb409c3f87159d 100644 |
--- a/runtime/lib/errors_patch.dart |
+++ b/runtime/lib/errors_patch.dart |
@@ -234,6 +234,10 @@ class NoSuchMethodError { |
// This constructor seems to be called with either strings or |
// values read from another NoSuchMethodError. |
+ // |
+ // NOTE: When making changes to this constructor, please also update |
+ // `VmTarget.instantiateNoSuchMethodError` in |
+ // `pkg/kernel/lib/target/vm.dart`. |
NoSuchMethodError._withType( |
this._receiver, |
/*String|Symbol*/ memberName, |