google-code-export / uispec

Automatically exported from code.google.com/p/uispec
Other
1 stars 1 forks source link

method $ should specify NSString* as parameter #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. $(@"textField with placeholder:'Username' setText:'bkuser'");
2.  warning: incompatible Objective-C types 'struct NSString *', expected 
'struct NSMutableString *' when passing argument 1 of '$' from distinct 
Objective-C type

What is the expected output? What do you see instead?
no warning should be shown, because it is distracting

What version of the product are you using? On what operating system?
from trunk

Please provide any additional information below.
NSMutableString is subclass of NSString so using NSString will allow passing 
mutable strings

Original issue reported on code.google.com by palob...@googlemail.com on 2 Feb 2011 at 3:33