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

run.dlang.io fails on 8,063+ character files #744

Open
DragonDePlatino opened this issue Jan 25, 2020 · 2 comments
Open

run.dlang.io fails on 8,063+ character files #744

DragonDePlatino opened this issue Jan 25, 2020 · 2 comments

Comments

@DragonDePlatino
Copy link

I use run.dlang.io to experiment with code snippets away from my local machine. If files hit 8,063 or more characters the console prints "1 unittests passed" and refuses to build.

To reproduce: create a file with just a main() and fill the remaining space with comments.

If this behavior is intended and you want to prevent people from compiling larger files, an explicit warning like "you have exceeded the maximum code length allowed on run.dlang.io" would clear up any confusion.

@baryluk
Copy link

baryluk commented May 11, 2020

Could be related to the URL length limit on GET queries? Does you also hit this if you paste the code directly on website and hit run? I would hope it would hope it uses POST query in this case, which shouldn't have that limit.

@jmh530
Copy link

jmh530 commented May 21, 2020

I am also having an issue with a file with many characters, but it is not clear if this is the same issue.

The file has around 11k characters and around 400 lines. When I run it, I get errors below, where line 288 is close to around 7600 characters. The code has nothing related to old_reserve, old_bal, new_bal in them. Or financial_service, or transactAccount.

onlineapp.d(288): Error: undefined identifier old_reserve
onlineapp.d(289): Error: undefined identifier old_bal
onlineapp.d(290): Error: undefined identifier new_bal
onlineapp.d(291): Error: undefined identifier new_bal
onlineapp.d(291): Error: undefined identifier old_bal
onlineapp.d(292): Error: undefined identifier new_bal
onlineapp.d(292): Error: undefined identifier old_bal
onlineapp.d(293): Error: undefined identifier new_bal
onlineapp.d(293): Error: undefined identifier old_bal
onlineapp.d(294): Error: undefined identifier new_bal
onlineapp.d(285): Error: undefined identifier old_reserve
onlineapp.d(279): Error: function onlineapp.financial_service.transactAccount label __returnLabel is undefined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants