RegExp lastIndex property have incorrect type declaration

Topics: General
Nov 11, 2012 at 3:44 PM
Edited Nov 11, 2012 at 5:33 PM

 

var regExp: RegExp = new RegExp("*");

regExp.lastIndex = 0; // throw error "Cannot convert 'number' to 'bool"

===============
I post same topic at issue tracker. Remove please this topic.
Coordinator
Nov 12, 2012 at 4:28 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.