Permalink
Browse files

added warning when using an unknown language

  • Loading branch information...
FROGGS committed Sep 17, 2012
1 parent e061cfc commit a5ebb1b56c608d4ae081c7c74aa40cab371ec84d
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Inline.pm
View
@@ -13,6 +13,7 @@ multi trait_mod:<is>(Routine $r, :$inline!) is export {
given $inline {
when 'C' { $r does Inline::C[$r, $inline, $code] }
+ default { warn "Language '$inline' not supported by Inline module." }
}
}

0 comments on commit a5ebb1b

Please sign in to comment.