This happens every now and then. Its probably the most frustrating bug ive ever seen in my life. Sometimes when I change something (could be a simple edit to a line of code that is unrelated) it will give me errors on something that dosnt have any. The errors are usually random (I think). Like this time it gave me "unknown variable type" on something that the variable type is known, and has been working perfectly. Even if I de-select the whole file, it will just go to another code saying there is an error when I know there isnt.
I know im not the only one who has experienced this, so I ask, help!
ID:107907
Feb 2 2011, 12:29 am
|
|||||||||||||
Not a bug
| |||||||||||||
This is a code problem, not a bug report. Getting error messages you don't understand is rarely a sign of a compiler bug in any language, and is almost always user error. It's hardly uncommon for any programmer to run across an error message from time to time that they have trouble figuring out. You can get help with these kinds of issues on the developer forums.
If you ever have a valid bug to report in the future, please be sure to fill out the complete template and include as much information as possible. |
For instance, if I have a simple verb:
Everything works perfectly. But if I was to say, add an s to the verb declaration:
The compiler will come up with the following error: Bug.dm:3:error: test: undefined proc
The error states it's on line 3, however, the actual error itself is on line 2.
A lot of compilers will cause these kinds of errors because it's quite difficult for them to determine where bad syntax begins. A general rule of thumb for syntax errors is to look at the line above the supposed error line for syntax issues. However, there are sometimes exceptions to this rule.
--
Further more, when reporting bugs, please fill the template in it's entirety. Most BYOND Moderators who have access to feature tracker moderation are more than likely to delete bug reports which ignore the templates completely. (If I still had the ability to do so, I would have as well. And sent a warning explaining what was actually going on and referring you to the developer forums for advice).