Skip to content

Commit

Permalink
Minor cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmurias committed Sep 10, 2015
1 parent 9772e45 commit a7d006d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/vm/js/QAST/Compiler.nqp
Original file line number Diff line number Diff line change
Expand Up @@ -2135,10 +2135,6 @@ class QAST::CompilerJS does DWIMYNameMangling does SerializeOnce {
}

proto method as_js($node, :$want) {
unless nqp::defined($want) {
nqp::die("Unknown want");
}

if nqp::defined($want) {
if nqp::istype($node, QAST::Want) {
self.NYI("QAST::Want");
Expand All @@ -2149,7 +2145,7 @@ class QAST::CompilerJS does DWIMYNameMangling does SerializeOnce {
}
}
else {
{*}
nqp::die("Unknown want");
}
}

Expand Down

0 comments on commit a7d006d

Please sign in to comment.