[Gambas-user] Issue 222 in gambas: Compiler fail - invalid DIM assignment not checked

gambas at ...2524... gambas at ...2524...
Sat Mar 10 10:27:47 CET 2012


Status: New
Owner: ----
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any  
Desktop-Any GUI-Any

New issue 222 by adamn... at ...626...: Compiler fail - invalid DIM assignment  
not checked
http://code.google.com/p/gambas/issues/detail?id=222

1) Describe the problem.

  Dim checkWeather As String = ["Rain", "Showery", "Overcast", "Fine", "Hot"]

I feel the compiler should have raised an error on the above initialization  
assignment.

2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate):

Version: TRUNK
Revision: whatever, sometime this week
Operating system: Linux
Distribution:  mine
Architecture: x86
GUI component: na
Desktop used: na

3) Provide a little project that reproduces the bug or the crash.
na

4) If your project needs a database, try to provide it, or part of it.
na

5) Explain clearly how to reproduce the bug or the crash.

6) By doing that carefully, you have done 50% of the bug fix job!

IMPORTANT NOTE: if you encounter several different problems or bugs, (for
example, a bug in your project, and an interpreter crash while debugging
it), please create distinct issues!






More information about the User mailing list