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

Unified Diff: pkg/analyzer/lib/src/dart/element/element.dart

Issue 2979583002: Remove references to not-exiting-anymore FrozenHashCodeException. (Closed)
Patch Set: Created 3 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/dart/element/element.dart
diff --git a/pkg/analyzer/lib/src/dart/element/element.dart b/pkg/analyzer/lib/src/dart/element/element.dart
index 014d84fd610f73e0660e012f74289ce93831e116..54486303c1ad706ea1b4ce9767d92d98d0a9e6eb 100644
--- a/pkg/analyzer/lib/src/dart/element/element.dart
+++ b/pkg/analyzer/lib/src/dart/element/element.dart
@@ -2745,8 +2745,6 @@ abstract class ElementImpl implements Element {
/**
* Set the enclosing element of this element to the given [element].
- *
- * Throws [FrozenHashCodeException] if the hashCode can't be changed.
*/
void set enclosingElement(Element element) {
_enclosingElement = element as ElementImpl;
@@ -2895,8 +2893,6 @@ abstract class ElementImpl implements Element {
/**
* Changes the name of this element.
- *
- * Throws [FrozenHashCodeException] if the hashCode can't be changed.
*/
void set name(String name) {
this._name = name;
@@ -2911,8 +2907,6 @@ abstract class ElementImpl implements Element {
/**
* Sets the offset of the name of this element in the file that contains the
* declaration of this element.
- *
- * Throws [FrozenHashCodeException] if the hashCode can't be changed.
*/
void set nameOffset(int offset) {
_nameOffset = offset;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698