UnaryNode.st
changeset 2881 ae13393d1096
parent 2866 21be09ac87b1
child 3309 cea9c487db04
--- a/UnaryNode.st	Wed Jul 04 14:06:32 2012 +0200
+++ b/UnaryNode.st	Fri Jul 06 13:45:56 2012 +0200
@@ -214,6 +214,10 @@
 
     |selectorSymbol|
 
+    "JV@2012-07-06: Do not check if receiver is Java package,
+     otherwise it reports false-positives when working with Java code"
+    receiver isJavaPackageReference ifTrue:[ ^ nil ].
+
     selectorSymbol := selector asSymbolIfInterned.
     selectorSymbol notNil ifTrue:[
         ((selectorSymbol == #self) or:[
@@ -245,6 +249,7 @@
     ^ super plausibilityCheckIn:aParser
 
     "Modified: / 16-07-2006 / 16:16:25 / cg"
+    "Modified: / 06-07-2012 / 10:46:53 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
 !UnaryNode methodsFor:'code generation'!
@@ -364,9 +369,9 @@
 !UnaryNode class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libcomp/UnaryNode.st,v 1.57 2012-05-04 13:07:47 vrany Exp $'
+    ^ '$Header: /cvs/stx/stx/libcomp/UnaryNode.st,v 1.58 2012-07-06 11:45:56 vrany Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libcomp/UnaryNode.st,v 1.57 2012-05-04 13:07:47 vrany Exp $'
+    ^ '$Header: /cvs/stx/stx/libcomp/UnaryNode.st,v 1.58 2012-07-06 11:45:56 vrany Exp $'
 ! !