Skip to content

Commit 1139f7d

Browse files
committed
Use kebab-case
1 parent 85832d7 commit 1139f7d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/NQP/Actions.nqp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1675,7 +1675,7 @@ class NQP::Actions is HLL::Actions {
16751675
}
16761676

16771677
method infix:sym<!~~>($/) {
1678-
make QAST::Op.new( :op<callmethod>, :name<NOT_ACCEPTS>, :node($/) );
1678+
make QAST::Op.new( :op<callmethod>, :name<NOT-ACCEPTS>, :node($/) );
16791679
}
16801680

16811681
# Takes a multi-part name that we know is in a package and generates

src/QRegex/Cursor.nqp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1368,7 +1368,7 @@ class NQPRegexMethod {
13681368
multi method ACCEPTS(NQPRegexMethod:D $self: $target) {
13691369
NQPMatch.parse($target, :rule(self))
13701370
}
1371-
multi method NOT_ACCEPTS(NQPRegexMethod:D $self: $target) {
1371+
multi method NOT-ACCEPTS(NQPRegexMethod:D $self: $target) {
13721372
nqp::isfalse(NQPMatch.parse($target, :rule(self)))
13731373
}
13741374
method name() {
@@ -1384,7 +1384,7 @@ class NQPRegex is NQPRegexMethod {
13841384
multi method ACCEPTS(NQPRegex:D $self: $target) {
13851385
NQPMatch.parse($target, :rule(self), :c(0))
13861386
}
1387-
multi method NOT_ACCEPTS(NQPRegex:D $self: $target) {
1387+
multi method NOT-ACCEPTS(NQPRegex:D $self: $target) {
13881388
nqp::isfalse(NQPMatch.parse($target, :rule(self), :c(0)))
13891389
}
13901390
}

src/core/NQPMu.nqp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ my class NQPMu {
8888
nqp::istype($topic, self.WHAT)
8989
}
9090

91-
proto method NOT_ACCEPTS($topic) { * }
92-
multi method NOT_ACCEPTS(NQPMu:U $self: $topic) {
91+
proto method NOT-ACCEPTS($topic) { * }
92+
multi method NOT-ACCEPTS(NQPMu:U $self: $topic) {
9393
nqp::isfalse(nqp::istype($topic, self.WHAT))
9494
}
9595

0 commit comments

Comments
 (0)