[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-users] warning in compilation of language
Everytime I compile, I get this message:
WARNING: FunctionDef contains variable declarations and so will not
be inlined.
in file '/Common/Collections/Array.sc'
line 245 char 61 :
var first=this[0], second=this[1], last=this
[this.size-1];•
if (this.lastIndexForWhich{|v,i|
-----------------------------------
I know, that this is not really a problem, but it just looks not that
nice...
is there a reason to not declaring the variable outside the function?
best
Till