blob: 5913edcd22b5da2bfec144b13c44d8d4bad57f4d [file] [log] [blame]
library;
import self as self;
import "dart:core" as core;
extension HashAll on core::Iterable<dynamic> {
method hashAll = self::HashAll|hashAll;
method tearoff hashAll = self::HashAll|get#hashAll;
}
extension HashAllList on core::List<dynamic> {
method hashAll = self::HashAllList|hashAll;
method tearoff hashAll = self::HashAllList|get#hashAll;
}
static extension-member method HashAll|hashAll(lowered final core::Iterable<dynamic> #this) → core::int
return 0;
static extension-member method HashAll|get#hashAll(lowered final core::Iterable<dynamic> #this) → () → core::int
return () core::int => self::HashAll|hashAll(#this);
static extension-member method HashAllList|hashAll(lowered final core::List<dynamic> #this) → core::int
return 1;
static extension-member method HashAllList|get#hashAll(lowered final core::List<dynamic> #this) → () → core::int
return () core::int => self::HashAllList|hashAll(#this);
static method main() void {
core::List<dynamic> l = core::_GrowableList::•<dynamic>(0);
core::Iterable<dynamic> i = core::_GrowableList::•<dynamic>(0);
core::print(self::HashAllList|hashAll(l));
core::print(self::HashAll|hashAll(i));
}