Merge pull request #208 from abarth/fix_type

Fix type error found by dartanalyzer --strong
This commit is contained in:
Adam Barth
2015-07-22 07:29:32 -07:00

View File

@@ -585,7 +585,7 @@ abstract class StatefulComponent extends Component {
return super.syncChild(node, oldNode, slot);
}
void setState(Function fn()) {
void setState(void fn()) {
assert(!_disqualifiedFromEverAppearingAgain);
fn();
scheduleBuild();