Skip to content

Commit

Permalink
Ignore can_fail attribute in Neovim functions
Browse files Browse the repository at this point in the history
Starting with nvim 0.1.6 the can_fail attribute is no longer part of
the API metadata. This commit removes the can_fail check in the
comparison operator.
  • Loading branch information
Rui Abreu Ferreira committed Sep 27, 2016
1 parent 26a08a0 commit ca53cf4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/function.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,6 @@ bool Function::operator==(const Function& other)
return false;
}

if ( this->can_fail != other.can_fail ) {
return false;
}

if ( this->return_type != other.return_type ) {
return false;
}
Expand Down

0 comments on commit ca53cf4

Please sign in to comment.