src/: Factor out common machinery in `check-method-type' methods.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 16 Dec 2015 02:18:38 +0000 (02:18 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 29 May 2016 14:09:03 +0000 (15:09 +0100)
The checking logic and error messages were partially duplicated in the
various methods.  Clean this mess up because that's just bad form (and
because it's about to change).

This also clears up a minor bug in the method on `aggregating-message',
which used to report a confusing error message if the method return type
wasn't what it was expecting.


No differences found