Skip to content

Commit

Permalink
fix #84 implement abstract methods
Browse files Browse the repository at this point in the history
  • Loading branch information
fdodino committed Sep 11, 2023
1 parent d7fa4cf commit 29f69fe
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions server/src/functionalities/reporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,10 @@ const validationMessagesEn: ValidationMessage = {
shouldNotImportMoreThanOnce: 'This file is already imported',
parameterShouldNotDuplicateExistingVariable: 'Duplicated Name',
methodShouldExist: 'Method does not exist or invalid number of arguments',
shouldImplementAbstractMethods:
shouldImplementInheritedAbstractMethods:
'You must implement all inherited abstract methods',
shouldHaveBody:
'Method without body. You must implement it',
shouldNotUseVoidMethodAsValue:
'Message send "{0}" produces no value (missing return in method?)',
shouldInitializeGlobalReference: 'Reference is never initialized',
Expand Down Expand Up @@ -153,8 +155,10 @@ const validationMessagesEs: ValidationMessage = {
parameterShouldNotDuplicateExistingVariable: 'Nombre duplicado',
methodShouldExist:
'El m\u00E9todo no existe o n\u00FAmero incorrecto de argumentos',
shouldImplementAbstractMethods:
shouldImplementInheritedAbstractMethods:
'Debe implementar todos los m\u00E9todos abstractos heredados',
shouldHaveBody:
'El método debe tener una implementación',
shouldNotUseVoidMethodAsValue:
'El mensaje "{0}" no retorna ning\u00FAn valor (quiz\u00E1s te falte un return en el m\u00E9todo)',
shouldInitializeGlobalReference: 'La referencia nunca se inicializa',
Expand Down

0 comments on commit 29f69fe

Please sign in to comment.