Isn't Iterable a read only data structure? I'm quite sure I read in dart
documentation that Iterable is read only.

On 5 Mar 2014, at 6:18 pm, Victor Berchet <notifications@github.com> wrote:

In lib/key.dart:

> @@ -0,0 +1,33 @@
> +part of di;
> +
> +class Key {
> +  final Type type;
> +  final Iterable<Type> annotations;
> +  int _hashCode;
> +
> +  Key(this.type, {Iterable<Type> this.annotations: const []});
> +
> +  int get hashCode {
> +    if (_hashCode != null) return _hashCode;

If think there's an issue here as annotations is mutable, I'm crafting a PR
to your own branch

—
Reply to this email directly or view it on
GitHub<https://github.com/angular/di.dart/pull/67/files#r10289654>
.