New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable strict null checks #1283
Commits on Apr 13, 2021
-
Update dependencies to null-safe versions
This also replaces package_resolver with package_config, since package_resolver is archived and is incompatible with null-safe Dart packages.
Configuration menu - View commit details
-
Copy full SHA for 247cb3d - Browse repository at this point
Copy the full SHA 247cb3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fa2b1d - Browse repository at this point
Copy the full SHA 3fa2b1dView commit details -
Split IfClause into ElseClause
This allows us to be statically explicit about when the expression does or doesn't exist.
Configuration menu - View commit details
-
Copy full SHA for 5d0ad69 - Browse repository at this point
Copy the full SHA 5d0ad69View commit details -
Refactor how style rules interact with at-root
This is more friendly to null-safe code, since we no longer rely on `_inStyleRule` implying that `_styleRule != null`.
Configuration menu - View commit details
-
Copy full SHA for ca3c6f5 - Browse repository at this point
Copy the full SHA ca3c6f5View commit details
Commits on Apr 15, 2021
-
Split Declaration's constructor into two
This doesn't explicitly help null-safety, but it makes the relationship between `Declaration.value` and `Declaration.children` more obvious.
Configuration menu - View commit details
-
Copy full SHA for 21e7ec1 - Browse repository at this point
Copy the full SHA 21e7ec1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 984e76e - Browse repository at this point
Copy the full SHA 984e76eView commit details -
Make the first parameter to ImportCache() named, not mandatory
It was always valid to pass in `null`, this just makes it more clear.
Configuration menu - View commit details
-
Copy full SHA for 8fdb281 - Browse repository at this point
Copy the full SHA 8fdb281View commit details -
Configuration menu - View commit details
-
Copy full SHA for dfbdae0 - Browse repository at this point
Copy the full SHA dfbdae0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81d952d - Browse repository at this point
Copy the full SHA 81d952dView commit details -
This gets the project analyzer-clean, but the tests are still failing.
Configuration menu - View commit details
-
Copy full SHA for e85d9a7 - Browse repository at this point
Copy the full SHA e85d9a7View commit details -
Rename Extender to ExtensionStore
"Extender" is also commonly used to refer to the parent selector of an `@extend` rule, so this helps disambiguate.
Configuration menu - View commit details
-
Copy full SHA for 8fd3c1b - Browse repository at this point
Copy the full SHA 8fd3c1bView commit details -
Split out an Extender class from Extension
This gets rid of the weird subset of "one-off" extensions which didn't have target information available. Now instead, each method explicitly declares whether it takes/returns extensions (which do have target info) or extenders (which do not).
Configuration menu - View commit details
-
Copy full SHA for 3ead2e2 - Browse repository at this point
Copy the full SHA 3ead2e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for de013bf - Browse repository at this point
Copy the full SHA de013bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 654744f - Browse repository at this point
Copy the full SHA 654744fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 102d3ce - Browse repository at this point
Copy the full SHA 102d3ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for af0f25c - Browse repository at this point
Copy the full SHA af0f25cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5535458 - Browse repository at this point
Copy the full SHA 5535458View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59b9dac - Browse repository at this point
Copy the full SHA 59b9dacView commit details -
Configuration menu - View commit details
-
Copy full SHA for c2e02a5 - Browse repository at this point
Copy the full SHA c2e02a5View commit details