-
Notifications
You must be signed in to change notification settings - Fork 58
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
UIP-1637 First pass at strong mode compliance #15
Merged
Merged
Changes from 29 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
27c1a59
First pass at strong mode compliance
aaronlademann-wf f2a5cc6
Get rid of two more implicit type casts
aaronlademann-wf f1c6657
Use https to see if travis likes that better
aaronlademann-wf 17f16fa
Get rid of two implicit casts that don’t cause warnings on my machine
aaronlademann-wf 2804edf
Cast in the test instead of changing the type of the method
aaronlademann-wf d9071f8
Change Function to ReactComponent
aaronlademann-wf af8d5f9
Remove redundant left hand side typing
aaronlademann-wf 2914187
Turn on strong mode for integrate directory
aaronlademann-wf 3b51626
Undo pubspec path commit
aaronlademann-wf 0e7c44a
Fix implicit cast
aaronlademann-wf c2299be
Add test coverage for string UiComponent.ref
aaronlademann-wf fc1b96e
Use the typedef from react-dart
aaronlademann-wf b76c072
Don’t commit integrate/pubspec.lock
aaronlademann-wf fe69d03
Ignore all pubspec.lock files
aaronlademann-wf 46639f2
Bump min sdk to 1.19.1
aaronlademann-wf 047a8a9
Merge 'aaronlademann-wf/sdk_1.19.1' into strong-mode-ftw
aaronlademann-wf 9d6a136
Remove unnecessary casts
aaronlademann-wf 0fe7556
Parameterize Lists / Maps for 1.20.1 strong mode compliance
aaronlademann-wf 2507729
Remove unnecessary casting
aaronlademann-wf 1b4a80a
Enable avoid_as lint
aaronlademann-wf d205ea9
Add casting to fix broken VM tests
aaronlademann-wf 5547f8d
Fix the vm test errors a better way
aaronlademann-wf c4dd932
Fix analysis error when sdk version is > 1.20.1
aaronlademann-wf f211b71
Update react dependency to ^3.0.1
aaronlademann-wf ba742e8
Remove unnecessary test file
aaronlademann-wf dd869c5
Address CR feedback
aaronlademann-wf c8b41b7
Parameterize Expando
aaronlademann-wf 98917e9
Fix some formatting anomalies
aaronlademann-wf 9a91b1d
Exclude integrate/ directory from analyzer
aaronlademann-wf 1dbb92f
Address CR feedback
aaronlademann-wf File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
language: dart | ||
dart: | ||
- "1.17.1" | ||
- "1.19.1" | ||
with_content_shell: true | ||
before_install: | ||
- export DISPLAY=:99.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,18 @@ | ||
name: import_web_skin_dart_test | ||
name: import_over_react_test | ||
version: 0.0.1 | ||
description: Test importing web_skin_dart | ||
description: Test importing over_react | ||
environment: | ||
sdk: ">=1.12.1" | ||
sdk: ">=1.19.1" | ||
dependencies: | ||
browser: ">=0.10.0 <0.11.0" | ||
crypto: "0.9.2+1" | ||
source_gen: "^0.4.1" | ||
web_skin_dart: | ||
over_react: | ||
git: | ||
url: git://127.0.0.1:9000/ | ||
ref: HEAD | ||
dev_dependencies: | ||
dart_dev: "^1.0.5" | ||
test: "^0.12.6+2" | ||
transformers: | ||
- test/pub_serve: | ||
$include: test/test_runtime_import.dart | ||
- test/pub_serve: | ||
$include: test/test_runtime_import.dart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are two more spots where the analyzer is failing on 1.20.1, but they're easy fixes:
test/over_react/component_declaration/flux_component_test/handler_precedence.dart L21-25
Same thing for test/over_react/component_declaration/flux_component_test/store_handlers.dart L16-21.
With those two changes, I think you'd be fine to bump this up to 1.20.1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even if you're not using the variable is has to be typed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe it has something to do with overriding the method but omitting the return type, I'm not sure.