bugfix: compiler rejects methods without object parameter

This commit is contained in:
Araq 2011-01-06 09:06:43 +01:00
commit 27bc9296d1
7 changed files with 28 additions and 3 deletions

View file

@ -107,6 +107,7 @@ type
errArrayExpectsTwoTypeParams, errInvalidVisibilityX, errInitHereNotAllowed,
errXCannotBeAssignedTo, errIteratorNotAllowed, errXNeedsReturnType,
errInvalidCommandX, errXOnlyAtModuleScope,
errXNeedsParamObjectType,
errTemplateInstantiationTooNested, errInstantiationFrom,
errInvalidIndexValueForTuple, errCommandExpectsFilename, errXExpected,
errInvalidSectionStart, errGridTableNotImplemented, errGeneralParseError,
@ -233,6 +234,7 @@ const
"iterators can only be defined at the module\'s top level",
"$1 needs a return type", "invalid command: \'$1\'",
"\'$1\' is only allowed at top level",
"'$1' needs a parameter that has an object type",
"template/macro instantiation too nested", "instantiation from here",
"invalid index value for tuple subscript",
"command expects a filename argument", "\'$1\' expected",