Fix nemo warnings about undefined $this

The fix for the crash caused us to take a different path
when checking locals.
Esse commit está contido em:
mwilliams
2013-03-19 14:03:55 -07:00
commit de Sara Golemon
commit 63f228d614
+1 -1
Ver Arquivo
@@ -172,7 +172,7 @@ void SimpleVariable::analyzeProgram(AnalysisResultPtr ar) {
}
}
} else if (ar->getPhase() == AnalysisResult::AnalyzeFinal) {
if (m_sym) {
if (m_sym && !m_this) {
if (!m_sym->isSystem() &&
!(getContext() &
(LValue|RefValue|RefParameter|UnsetContext|ExistContext)) &&