Code review comment for lp:~zorba-coders/zorba/api-var-annot

Revision history for this message
Paul J. Lucas (paul-lucas) wrote :

> Why not allow introspection for non external variables? Does it make sense to
> restrict it?

I personally don't care, but the function getExternalVariables() in StaticContext was already there and there is *not* any getAllVariables() (or some such). Since you can't introspect just the names of non-external variables, I didn't see any point in allowing you to get the annotations for them.

« Back to merge proposal