Comment #13 on issue 172 by emil.len...@gmail.com: Using static symbols on
objects not consistent
http://code.google.com/p/gambas/issues/detail?id=172
Compiling gb.report...
ReportBorder.class:5: error: Unexpected STATIC
Comment #10 on issue 172 by benoit.m...@gmail.com: Using static symbols on
objects not consistent
http://code.google.com/p/gambas/issues/detail?id=172
Is there actually any pending problem with this issue?
--
Comment #11 on issue 172 by emil.len...@gmail.com: Using static symbols on
objects not consistent
http://code.google.com/p/gambas/issues/detail?id=172
I don't think it is that of a problem, it was only something strange I
found ...
Is there any other language with the same design?
Updates:
Status: Fixed
Comment #12 on issue 172 by benoit.m...@gmail.com: Using static symbols on
objects not consistent
http://code.google.com/p/gambas/issues/detail?id=172
I don't know.
But I think that you should be able to change between a constant or a
variable or a property
Updates:
Labels: -Priority-Medium Priority-Low
Comment #9 on issue 172 by benoit.m...@gmail.com: Using static symbols on
objects not consistent
http://code.google.com/p/gambas/issues/detail?id=172
(No comment was entered for this change.)
Comment #3 on issue 172 by emil.len...@gmail.com: Using static symbols on
objects not consistent
http://code.google.com/p/gambas/issues/detail?id=172
What is exactly the point in having both dynamic constants and static
constants? They seem to behave equally. You can even access a dynamic
Comment #4 on issue 172 by emil.len...@gmail.com: Using static symbols on
objects not consistent
http://code.google.com/p/gambas/issues/detail?id=172
One little problem I can see is the following:
Let's say you have obj1 and obj2 of class Class1. Class1 has a static
variable 'a'.
The
Comment #5 on issue 172 by benoit.m...@gmail.com: Using static symbols on
objects not consistent
http://code.google.com/p/gambas/issues/detail?id=172
There is no dynamic constant.
The point is that you are using a symbol on an object reference, and the
symbol kind (constant, property...
Comment #6 on issue 172 by benoit.m...@gmail.com: Using static symbols on
objects not consistent
http://code.google.com/p/gambas/issues/detail?id=172
There is no dynamic constant.
The point is that you are using a symbol on an object reference, and the
symbol kind (constant, property...
Comment #7 on issue 172 by emil.len...@gmail.com: Using static symbols on
objects not consistent
http://code.google.com/p/gambas/issues/detail?id=172
Of course real dynamic constants would be totally useless :)
With static/dynamic constants I meant this:
You can declare a const like this:
Comment #8 on issue 172 by benoit.m...@gmail.com: Using static symbols on
objects not consistent
http://code.google.com/p/gambas/issues/detail?id=172
Haa ok. Indeed, the static keyword is optional with the Const keyword,
because constants are always static.
Status: New
Owner:
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any
Desktop-Any GUI-Any
New issue 172 by emil.len...@gmail.com: Using static symbols on objects not
consistent
http://code.google.com/p/gambas/issues/detail?id=172
1) Describe the problem.
Let's say you
Updates:
Status: Accepted
Labels: -Version Version-TRUNK
Comment #1 on issue 172 by benoit.m...@gmail.com: Using static symbols on
objects not consistent
http://code.google.com/p/gambas/issues/detail?id=172
You are right. obj.f() and obj.c should raise the same error, because
Comment #2 on issue 172 by benoit.m...@gmail.com: Using static symbols on
objects not consistent
http://code.google.com/p/gambas/issues/detail?id=172
Mmm... Actually this is very useful to be allowed to do obj.c. Because
sometimes you don't know the class of 'obj' at design time, or you
14 matches
Mail list logo