I've just released the next version of OmniPascal. It's coming with support for the inherited keyword, type helpers and inline variables.
http://blog.omnipascal.com/omnipascal-0-17-0-inherited-keyword-type-helpers-and-inline-variables/
Great! What's about this:
const RESTClient = TRESTClient.Create(Nil);
Does it work?
I'm having a good feeling about it 😉
https://github.com/RomanYankovsky/DelphiAST/pull/271
Marco says in his blog post:
So I think constant value expressions are evaluated at compile time. But I would love to see inline constants initialized with dynamic values just like in TypeScript.