Why does this not compile?

BlitzMax Forums/BlitzMax Programming/Why does this not compile?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Type A
   Const Anything:Int=1
End Type

Type B Extends A
   Function DoSomething(C:Int=Anything)
   End Function
End Type


If I change it to

Type B' DOES NOT EXTEND A ANY MORE
   Const Anything:Int=1
   Function DoSomething(C:Int=Anything)
   End Function
End Type


It compiles fine. So why won't it compile the first way? It *is* constant, and it should be inherited. So what's the problem?