Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
75445144
Commit
75445144
authored
Mar 11, 2016
by
Ian Hickson
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2566 from Hixie/avoid_empty_else_lint
Remove the _EquationMember.hashCode override
parents
167c433a
1d035228
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
equation_member.dart
packages/cassowary/lib/equation_member.dart
+0
-4
.analysis_options
packages/flutter_tools/.analysis_options
+2
-0
No files found.
packages/cassowary/lib/equation_member.dart
View file @
75445144
...
...
@@ -24,8 +24,4 @@ abstract class _EquationMember {
Expression
operator
*(
_EquationMember
m
)
=>
asExpression
()
*
m
;
Expression
operator
/(
_EquationMember
m
)
=>
asExpression
()
/
m
;
@override
int
get
hashCode
=>
throw
"An equation member is not comparable and cannot be added to collections"
;
}
packages/flutter_tools/.analysis_options
View file @
75445144
...
...
@@ -13,6 +13,7 @@ analyzer:
todo: ignore
linter:
rules:
- avoid_empty_else
- always_declare_return_types
# we'll turn on avoid_as as soon as it doesn't complain about "as dynamic"
# - avoid_as
...
...
@@ -20,6 +21,7 @@ linter:
# sometimes we have no choice (e.g. when matching other platforms)
# - constant_identifier_names
- empty_constructor_bodies
- hash_and_equals
# disabled until regexp fix is pulled in (https://github.com/flutter/flutter/pull/1996)
# - library_names
- library_prefixes
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment