Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error poco claro cuando se omite el receptor de un mensaje #292

Open
mmatos opened this issue Sep 24, 2024 · 1 comment · May be fixed by #295
Open

Error poco claro cuando se omite el receptor de un mensaje #292

mmatos opened this issue Sep 24, 2024 · 1 comment · May be fixed by #295
Labels
bug Something isn't working component: parser component: validator Linter / Validator priority: high This issue has high priority, it should be addressed first

Comments

@mmatos
Copy link

mmatos commented Sep 24, 2024

El siguiente ejemplo es una simplificación de un problema que tuvo un alumno, su intención era mandar un mensaje a self pero omitió el objeto receptor, y el feedback que le dio el entorno de Wollok-ts fue muy infeliz

object pepita {
    method hacerAlgo() {
        estresar(1)
    }

    method estresar(cantidad) {
        // ... irrelevante, pero existe
    }
}

Los errores que le aparecía al correr las pruebas eran de este estilo

[ERROR]: malformedSentence at tp1.wlk:34
[WARNING]: shouldNotBeEmpty at tp1.wlk:34
💥 Uh-oh... Unexpected Error!
Fatal error while running validations. Aborting run due to validation errors!
@PalumboN PalumboN added bug Something isn't working priority: high This issue has high priority, it should be addressed first labels Sep 24, 2024
@fdodino
Copy link
Contributor

fdodino commented Oct 4, 2024

@PalumboN , lo muevo a wollok-ts para poder asociarlo al parser (en el peor de los casos) o al validador (en el mejor de los casos).

@fdodino fdodino transferred this issue from uqbar-project/wollok-language Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component: parser component: validator Linter / Validator priority: high This issue has high priority, it should be addressed first
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants