Skip to content

Commit

Permalink
Remove PairMap - its use case is unclear and it's untested
Browse files Browse the repository at this point in the history
We can revert this if a use case appears. Maybe after 6.0.0.
  • Loading branch information
niner committed Sep 13, 2015
1 parent aed84a8 commit 77e52ec
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 72 deletions.
15 changes: 0 additions & 15 deletions src/core/Exception.pm
Expand Up @@ -2068,21 +2068,6 @@ my class X::UnitScope::TooLate does X::Syntax {
}
}

my class X::PairMap::DoesNotExist is Exception {
has $.key;
has $.method;
method message() {
"Cannot do PairMap.$.method on non-existing key: '$.key'"
}
}

my class X::PairMap::NotAllowed is Exception {
has $.method;
method message() {
"Not allowed to do PairMap.$.method"
}
}

my class X::StubCode is Exception {
has $.message = 'Stub code executed';
}
Expand Down
55 changes: 0 additions & 55 deletions src/core/PairMap.pm

This file was deleted.

1 change: 0 additions & 1 deletion tools/build/Makefile-JVM.in
Expand Up @@ -153,7 +153,6 @@ J_CORE_SOURCES = \
src/core/Temporal.pm \
src/core/EXPORTHOW.pm \
src/core/Pod.pm \
src/core/PairMap.pm \
src/core/QuantHash.pm \
src/core/Setty.pm \
src/core/Set.pm \
Expand Down
1 change: 0 additions & 1 deletion tools/build/moar_core_sources
Expand Up @@ -103,7 +103,6 @@ src/core/Duration.pm
src/core/Temporal.pm
src/core/EXPORTHOW.pm
src/core/Pod.pm
src/core/PairMap.pm
src/core/QuantHash.pm
src/core/Setty.pm
src/core/Set.pm
Expand Down

0 comments on commit 77e52ec

Please sign in to comment.