uqbar-project / wollok-lsp-ide

IDE for Wollok - LSP node-based
GNU General Public License v3.0
7 stars 3 forks source link

Ejecutar un programa está roto #151

Closed PalumboN closed 7 months ago

PalumboN commented 7 months ago

Al querer ejecutar un programa con el Lens Run program, un error aparece en consola:

 *  Executing task: /Users/palumbon/wollok run 'pepitaGame.juego' --skipValidations -p /Users/palumbon/git/pepita 

🚀 Running program pepitaGame.juego as a program on /Users/palumbon/git/pepita
🌏 Building environment for pepitaGame.juego...

💥 Uh-oh... Unexpected Error!
Could not resolve reference to pepitaGame.juego

El problema es que está creando mal el comando, debería ser:

/Users/palumbon/wollok run -g 'src.pepitaGame.juego' --skipValidations -p /Users/palumbon/git/pepita
PalumboN commented 7 months ago

Con Fer decimos de tener 2 lens: run game y run program y que el usuario elija qué ejecutar