google / pageloader

A framework for creating page objects for in-browser or WebDriver tests.
https://pub.dartlang.org/packages/pageloader
Apache License 2.0
40 stars 46 forks source link

ignore unused_field for __mouse__ in generated files #144

Closed chalin closed 6 years ago

chalin commented 6 years ago

So that we can avoid this analyzer hint:

  hint • The value of the field '__mouse__' isn't used at test/app_po.g.dart:128:19 • unused_field

cc @kevmoo @kwalrath

chalin commented 6 years ago

@mk13 - do you think that this can be fixed for 3.0.0 final?

At a minimum, an ignore directive should do it:

  PageLoaderMouse __mouse__; // ignore: unused_field
mk13 commented 6 years ago

I'll add this in with the 3.0.0 release.

mk13 commented 6 years ago

Done, will be published with 3.0.0