Skip to content

Commit

Permalink
- Undefined method calls for user-defined classes are now fatal.
Browse files Browse the repository at this point in the history
  • Loading branch information
trizen committed Jun 29, 2015
1 parent a1ebd89 commit 858420f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Sidef/Variable/Class.pm
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ package Sidef::Variable::Class {
return $self->{method}{'AUTOLOAD'}->call($self, Sidef::Types::String::String->new($name), @args);
}
else {
warn "[WARN] Can't find method `$name' for class: $self->{name}\n";
die "[ERROR] Can't find method `$name' for class: $self->{name}\n";
}

return;
Expand Down

0 comments on commit 858420f

Please sign in to comment.