« first day (4236 days earlier)      last day (697 days later) » 

1:19 AM
@ircmaxell running ffime against more real world code ... fixing more things ... and then finding that variable decls are not distinguishable from function decls by just looking at the decl. Need to resolve typedefs first... ugh.
typedef void *(func_def)();
extern func_type func;
// is equivalent to
extern void *func();
// which obviously is not a variable…
Also fwiw: I've done some work to store linenos along tokens in compiler … that could be extended to have more file/line info everywhere
 
 
16 hours later…
5:41 PM
morning
Why don't we have abstract typed properties and is this a good idea at all?
Since properties can be typed combined with an enum type I find use cases where my abstract contains currently a method which returns an enumeration just because I cannot mark typed property an abstract - meaning requires a value on inheritance.
Then I extend the abstract class and any extending class returns a different enumeration from that enum type. I thought it could be nice to have an abstract here without forcing me to create a method for readonly property that could easily be just publicly visible.
 
 
1 hour later…
6:53 PM
@brzuchal why is there any reason for an abstract property when you can just have a regular property? You can make it a protected property on the parent and redefine the very same property on the child as public.
There might be also a case to making the readonly property type contravariant.
 

« first day (4236 days earlier)      last day (697 days later) »