mirror of
https://github.com/gnustep/libs-steptalk.git
synced 2025-02-21 02:31:01 +00:00
Fix another mutable vs. non-mutable array mismatch detected by clang.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@38065 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
27f1ac7524
commit
a58da09aa0
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2014-09-09 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||
|
||||
* STCompiler.m (setReceiverVariables:):
|
||||
Do not assign a non-mutable array to a mutable array attribute.
|
||||
|
||||
2014-09-09 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||
|
||||
* STCompiledCode.h (STCompiledCode, -namedReferences,
|
||||
|
|
|
@ -460,7 +460,7 @@ extern int STCparse(void *context);
|
|||
|
||||
- (void)setReceiverVariables:(NSArray *)array
|
||||
{
|
||||
ASSIGN(receiverVars,array);
|
||||
[receiverVars setArray:array];
|
||||
[namedReferences addObjectsFromArray:array];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue