Tests for signature parser.

This commit is contained in:
Jakob Stoklund Olesen
2016-04-28 13:16:13 -07:00
parent 42364fda59
commit 41d95c0342
2 changed files with 32 additions and 1 deletions

View File

@@ -224,6 +224,7 @@ pub struct ArgumentType {
///
/// The function signature describes the types of arguments and return values along with other
/// details that are needed to call a function correctly.
#[derive(Clone, PartialEq, Eq, Debug)]
pub struct Signature {
pub argument_types: Vec<ArgumentType>,
pub return_types: Vec<ArgumentType>,