In apex 4.1.1 when I go through my views and functions and some are flagged as red next to their name. Presuming red means they are in invalid state. After compiling them successfully they still show up as red.
Object Browser doesn't appear appear to automatically update the status after the program is compiled. Click on the refresh button (circular arrows) in the sidebar and the red flags will be removed if the program is now valid.