History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-18041
Type: Bug Bug
Status: Open Open
Assignee: Maxim Mossienko
Reporter: Keith Thompson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

inspection flagging basic member properties for as / js variables as unknown in .as class files

Created: 07 May 08 17:30   Updated: Tuesday 16:29
Component/s: Flex Support

Environment: xp

Build: 7,821
Severity: Low


 Description  « Hide
a few example snippets below, first one, .length is being flagged as unknown

var val:String = value ? String(value) : "";
if (results.length > 0 || ((val.length == 0) && !required))

second one .text is being flagged as unknown

public class DobValidator extends DateValidator {

// Constructor.
public function DobValidator() { // Call base class constructor. super(); }

// Define the doValidation() method.
override protected function doValidation(value:Object):Array {
// Call base class date validation
var results:Array = super.doValidation(value);
// verify DOB not in future if there are no errors.
if (results.length == 0 && Date.parse(daySource.text + "/" + monthSource.text + "/" + yearSource.text) > new Date()) {



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.