Index: /CKPackager/trunk/_source/includes/scriptcompressor.js
===================================================================
--- /CKPackager/trunk/_source/includes/scriptcompressor.js	(revision 3680)
+++ /CKPackager/trunk/_source/includes/scriptcompressor.js	(revision 3681)
@@ -388,5 +388,5 @@
 				var child = node.getFirstChild(),
 					childType = child.getType(),
-					isFunctionCall = ( childType == Token.FUNCTION || childType == Token.SETPROP || childType == Token.SETELEM );
+					isFunctionCall = ( childType == Token.FUNCTION || childType == Token.SETPROP || childType == Token.SETELEM || childType == Token.SETNAME );
 
 				if ( childType == Token.NAME && child.getString() == 'PACKAGER_RENAME' )
Index: /CKPackager/trunk/test/test.js
===================================================================
--- /CKPackager/trunk/test/test.js	(revision 3680)
+++ /CKPackager/trunk/test/test.js	(revision 3681)
@@ -21,4 +21,7 @@
 		[	"function Test( param ) { var myVar = 1; return myVar + param; }; Test( 'Sample' );",
 			"function a(b){var c=1;return c+b;};a('Sample');" ],
+
+		[	"var Test; ( Test = function( rtl ){ return rtl + 'y'; } )(); Test( 'x' );",
+		 	"var a;(a=function(b){return b+'y';})();a('x');" ],
 
 		[	"var result = 6 * 10 / 3 + 4;",
