You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Agh, @mmatos, me llevó casi 3 horas descular dónde estaba el problema, y lo más gracioso @npasserini@PalumboN es que cuando metí el fix saltaron dos errores, que son justamente tests que están mal:
acá hay un typo, debería ser destinos en lugar de destino.remove...
Y
method comer(alimento) {
alimento.sum { x =>// XPECT errors --> "Cannot assign a variable to itself. It does not have any effect" at "energia"
energia = energia
}
// XPECT errors --> "Cannot assign a variable to itself. It does not have any effect" at "y"const y = y
var z =24
z = y
const w = y
alimento.hacerAlgo(x,y,z,w)
acá x está en el Closure. Increíble pero hace 4 años que el test está así y nunca me saltó.
Esto no se está marcando como un error en el IDE
Sí falla al intentar ejecutarlo en el REPL y los tests correctamente
The text was updated successfully, but these errors were encountered: