Comments (3)
Expected behavior
CodinGame adds parens like (n+1) as usize.
This is not true, CG does the same and as such the stub also crashes in the IDE
This is a hack (and a dirty one), that even crashes their stub before entering the IDE (and I'm not even sure why it ends up working).
You can test it yourself:
- Go to the clash: https://www.codingame.com/contribute/view/5983c5ceedd8425e2617a5a482095ca77a25
- Click the edit button
- Click go to IDE on the bottom right
- Confirm the message error that says that the stub crashed because it looked for a variable called "N+1" (and not "N" + 1)
from coctus.
Expected behavior CodinGame adds parens like (n+1) as usize.
This is not true, CG does the same and as such the stub also crashes in the IDE
Oops you're right. I've edited the issue description.
from coctus.
Turns out it's no longer possible to create clashes with loop N+1
so this problem only happened with one legacy clash which is now fixed.
from coctus.
Related Issues (20)
- Make `clash show` return an error when it is followed by an invalid HANDLE
- Update `README.md` HOT 2
- Add numbers to test cases in `clash run`
- Support NO_COLOR environment variable
- Segmentation errors not being backtraced.
- Command `run` not printing certain special characters
- Crash when stubgen includes `gameloop`
- Stub generator generates invalid code when named variables conflict with loop variable
- Easier way to get started / run your code against the testsuite. HOT 1
- "Porcelain" commands HOT 1
- Global configuration HOT 1
- Finish renaming things to coctus HOT 1
- `coctus fetch` SEGFAULT
- Test "framework" HOT 2
- Clean up the App Struct HOT 1
- Variable casing doesn't match CodinGame
- Hardcoded index in template
- Rename `clashlib` to `coctuslib` HOT 1
- Rename `keywords` to `reserved_words`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coctus.