diff --git a/sources/dylan/collection.dylan b/sources/dylan/collection.dylan index 40062d3e83..38437703e8 100644 --- a/sources/dylan/collection.dylan +++ b/sources/dylan/collection.dylan @@ -56,9 +56,13 @@ define constant define constant = type-union(subclass(), ); +// This generic is defined on because the DRM says so and the test suite +// expects it to be so. However, the only implemented method is on +// and this generic is sealed, so there should not be +// a dispatch hit. define sealed generic map-as - (type :: , fn :: , - collection :: , #rest more-collections :: ) + (type :: , fn :: , collection :: , + #rest more-collections :: ) => (new-collection :: ); define sealed generic map-into diff --git a/sources/dylan/sequence.dylan b/sources/dylan/sequence.dylan index fff6f703c4..68ec79cbc6 100644 --- a/sources/dylan/sequence.dylan +++ b/sources/dylan/sequence.dylan @@ -98,9 +98,11 @@ define sealed generic concatenate (sequence1 :: , #rest sequences :: ) => (result-sequence :: ); +// This generic is defined on because the DRM says so and the test suite +// expects it to be so. However, the methods top out with +// and this generic is sealed, so there should not be a dispatch hit. define sealed generic concatenate-as - (type :: , - sequence1 :: , #rest more-sequences :: ) + (type :: , sequence1 :: , #rest more-sequences :: ) => (result-sequence :: ); define sealed generic first