-
Notifications
You must be signed in to change notification settings - Fork 2
FEA-2357: Put relationship indexing behind a flag #77
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
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
60ecc5d
put relationship indexing behind a flag
matthewnitschke-wk b19daa6
fmt
matthewnitschke-wk ee59284
bumped scip version
matthewnitschke-wk 3a6954a
added diff check
matthewnitschke-wk bc05f70
regen snaps with released scip version
matthewnitschke-wk 52c9c5f
added tests for relationships
matthewnitschke-wk b528776
smaller pubspec
matthewnitschke-wk 11c62c6
fixed incorrect indexing
matthewnitschke-wk 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
File renamed without changes.
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Generated by pub | ||
# See https://dart.dev/tools/pub/glossary#lockfile | ||
packages: {} | ||
sdks: | ||
dart: ">=2.18.0 <3.0.0" |
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
name: dart_test | ||
version: 1.0.0 | ||
|
||
environment: | ||
sdk: ">=2.18.0 <3.0.0" |
This file contains hidden or 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
38 changes: 19 additions & 19 deletions
38
...tput/basic-project/lib/relationships.dart → ...utput/relationships-project/lib/main.dart
This file contains hidden or 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,54 +1,54 @@ | ||
abstract class Mammal { | ||
// definition scip-dart pub dart_test 1.0.0 lib/relationships.dart/ | ||
// ^^^^^^ definition scip-dart pub dart_test 1.0.0 lib/relationships.dart/Mammal# | ||
// definition scip-dart pub dart_test 1.0.0 lib/main.dart/ | ||
// ^^^^^^ definition scip-dart pub dart_test 1.0.0 lib/main.dart/Mammal# | ||
// documentation ```dart | ||
String get hierarchy; | ||
// ^^^^^^ reference scip-dart pub dart:core 2.18.0 dart:core/string.dart/String# | ||
// ^^^^^^^^^ definition scip-dart pub dart_test 1.0.0 lib/relationships.dart/Mammal#hierarchy. | ||
// ^^^^^^^^^ definition scip-dart pub dart_test 1.0.0 lib/main.dart/Mammal#hierarchy. | ||
// documentation ```dart | ||
} | ||
|
||
abstract class Animal extends Mammal { | ||
// ^^^^^^ definition scip-dart pub dart_test 1.0.0 lib/relationships.dart/Animal# | ||
// ^^^^^^ definition scip-dart pub dart_test 1.0.0 lib/main.dart/Animal# | ||
// documentation ```dart | ||
// relationship scip-dart pub dart_test 1.0.0 lib/relationships.dart/Mammal# implementation | ||
// ^^^^^^ reference scip-dart pub dart_test 1.0.0 lib/relationships.dart/Mammal# | ||
// relationship scip-dart pub dart_test 1.0.0 lib/main.dart/Mammal# implementation | ||
// ^^^^^^ reference scip-dart pub dart_test 1.0.0 lib/main.dart/Mammal# | ||
String sound() => 'NOISE!'; | ||
// ^^^^^^ reference scip-dart pub dart:core 2.18.0 dart:core/string.dart/String# | ||
// ^^^^^ definition scip-dart pub dart_test 1.0.0 lib/relationships.dart/Animal#sound(). | ||
// ^^^^^ definition scip-dart pub dart_test 1.0.0 lib/main.dart/Animal#sound(). | ||
// documentation ```dart | ||
} | ||
|
||
mixin SwimAction { | ||
// ^^^^^^^^^^ definition scip-dart pub dart_test 1.0.0 lib/relationships.dart/SwimAction# | ||
// ^^^^^^^^^^ definition scip-dart pub dart_test 1.0.0 lib/main.dart/SwimAction# | ||
// documentation ```dart | ||
void execute() => print('swimming...'); | ||
// ^^^^^^^ definition scip-dart pub dart_test 1.0.0 lib/relationships.dart/SwimAction#execute(). | ||
// ^^^^^^^ definition scip-dart pub dart_test 1.0.0 lib/main.dart/SwimAction#execute(). | ||
// documentation ```dart | ||
// ^^^^^ reference scip-dart pub dart:core 2.18.0 dart:core/print.dart/print(). | ||
} | ||
|
||
class Dog extends Animal with SwimAction { | ||
// ^^^ definition scip-dart pub dart_test 1.0.0 lib/relationships.dart/Dog# | ||
// ^^^ definition scip-dart pub dart_test 1.0.0 lib/main.dart/Dog# | ||
// documentation ```dart | ||
// relationship scip-dart pub dart_test 1.0.0 lib/relationships.dart/Animal# implementation | ||
// relationship scip-dart pub dart_test 1.0.0 lib/relationships.dart/Mammal# implementation | ||
// relationship scip-dart pub dart_test 1.0.0 lib/relationships.dart/SwimAction# implementation | ||
// ^^^^^^ reference scip-dart pub dart_test 1.0.0 lib/relationships.dart/Animal# | ||
// ^^^^^^^^^^ reference scip-dart pub dart_test 1.0.0 lib/relationships.dart/SwimAction# | ||
// relationship scip-dart pub dart_test 1.0.0 lib/main.dart/Animal# implementation | ||
// relationship scip-dart pub dart_test 1.0.0 lib/main.dart/Mammal# implementation | ||
// relationship scip-dart pub dart_test 1.0.0 lib/main.dart/SwimAction# implementation | ||
// ^^^^^^ reference scip-dart pub dart_test 1.0.0 lib/main.dart/Animal# | ||
// ^^^^^^^^^^ reference scip-dart pub dart_test 1.0.0 lib/main.dart/SwimAction# | ||
@override | ||
// ^^^^^^^^ reference scip-dart pub dart:core 2.18.0 dart:core/annotations.dart/override. | ||
String sound() => 'woof'; | ||
// ^^^^^^ reference scip-dart pub dart:core 2.18.0 dart:core/string.dart/String# | ||
// ^^^^^ definition scip-dart pub dart_test 1.0.0 lib/relationships.dart/Dog#sound(). | ||
// ^^^^^ definition scip-dart pub dart_test 1.0.0 lib/main.dart/Dog#sound(). | ||
// documentation ```dart | ||
// relationship scip-dart pub dart_test 1.0.0 lib/relationships.dart/Animal#sound(). implementation reference | ||
// relationship scip-dart pub dart_test 1.0.0 lib/main.dart/Animal#sound(). implementation reference | ||
|
||
@override | ||
// ^^^^^^^^ reference scip-dart pub dart:core 2.18.0 dart:core/annotations.dart/override. | ||
String get hierarchy => 'dog.animal.mammal'; | ||
// ^^^^^^ reference scip-dart pub dart:core 2.18.0 dart:core/string.dart/String# | ||
// ^^^^^^^^^ definition scip-dart pub dart_test 1.0.0 lib/relationships.dart/Dog#hierarchy. | ||
// ^^^^^^^^^ definition scip-dart pub dart_test 1.0.0 lib/main.dart/Dog#hierarchy. | ||
// documentation ```dart | ||
// relationship scip-dart pub dart_test 1.0.0 lib/relationships.dart/Mammal#hierarchy. implementation reference | ||
// relationship scip-dart pub dart_test 1.0.0 lib/main.dart/Mammal#hierarchy. implementation reference | ||
} |
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.
downgrade?
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.
Huh, thats strange
I did run a pubclean + pubget, I wonder if for whatever reason the pubspec.lock got upgraded past what a clean install results in?