http://d.puremagic.com/issues/show_bug.cgi?id=6648


yebblies <yebbl...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yebbl...@gmail.com
            Summary|fix invariant               |Only call invariant once
                   |                            |for a tree of public
                   |                            |functions
           Severity|normal                      |enhancement


--- Comment #1 from yebblies <yebbl...@gmail.com> 2011-09-12 11:52:29 EST ---
I've changed the title to better reflect what (I think) you're asking for. 
Please correct if I've missed the point.

Note that the compiler is working exactly to spec here (for once), so this is
an enhancement.

An alternative approach is to make bar private/protected, or put the body of
bar into a private/protected function that both foo and bar can call.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to