code\WorkInProgress\Chinsky\overmap\sectors.dm:43:error: proc definition not allowed inside another proc
Here the code:
code\WorkInProgress\Chinsky\overmap\sectors.dm:43:error: proc definition not allowed inside another proc
How to fix this?
I just downloaded one of tg-station builds to host, and got this when compiling:
code\WorkInProgress\Chinsky\overmap\sectors.dm:43:error: proc definition not allowed inside another proc Here the code: code\WorkInProgress\Chinsky\overmap\sectors.dm:43:error: proc definition not allowed inside another proc How to fix this? |
1. The build at that point in time may simply not compile properly
2. You didn't post the actual code segment from the file 3. You should ask in their IRC channel, @Rizon.net, channel #coderbus Or try downloading their most recent build instead |
Me sorry. Forgot to post code, feel stupid now.
here it is: var/global/list/map_sectors = list() |
Yep, try/catch was recently added in one of the latest betas. The reason it won't compile is likely that catch statement in that function owing to you not having a compatible version of BYOND.
|
One of the first included files should trigger an #ERROR if they aren't using the right version telling them to use the right version...
What i would try, would be this link: https://github.com/tgstation/-tg-station/archive/ d7eca4f3277cae3e55b6e8e5938d310dce2df5b6.zip Its time frozen, and its the code currently running on both of our servers at the time of this post. The build at that point in time may simply not compile properlyWe do have a bot that test compiles all commits and reports any errors. But it can't always tell when two change requests would create compile errors once merged in. That being said, the code file they are getting that error in doesn't exist in /tg/station13. There is no WorkInProgress folder in the code folder. I think this is an error with their change. Maybe they added 508 code to a 507 version of tgstation, but didn't copy over the compile error (or disabled it), then changed some stuff. |
https://github.com/tgstation/-tg-station/issues
You can make an issue report yourself and bring it to their attention.