Skip to content
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

Analyzer v6.2 #68

Draft
wants to merge 31 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
7f53cdb
test cases for dart3 support
matthewnitschke-wk Jul 11, 2023
001432b
minor deps
matthewnitschke-wk Jul 11, 2023
b94a375
updates
matthewnitschke-wk Jul 11, 2023
4ac2fcb
dependencies, protoc regen, analysis, asdf references
matthewnitschke-wk Sep 1, 2023
bf7a7f2
regen
matthewnitschke-wk Sep 1, 2023
fb9f289
fixed missed SimpleIdentifiers
matthewnitschke-wk Sep 1, 2023
f0423b4
fixed name offset
matthewnitschke-wk Sep 1, 2023
305be00
fixed bad offset calculation
matthewnitschke-wk Sep 1, 2023
21fbc87
actually fixed it this time
matthewnitschke-wk Sep 1, 2023
fbd7cb3
renamed so github doesnt incorrectly name function
matthewnitschke-wk Sep 1, 2023
28e6a5e
fixed tests
matthewnitschke-wk Sep 1, 2023
452f67c
fmt
matthewnitschke-wk Sep 1, 2023
5e5529c
removed unused dependency
matthewnitschke-wk Sep 1, 2023
ec3b1e8
pubgot
matthewnitschke-wk Sep 1, 2023
ff61f0d
regen snaps
matthewnitschke-wk Sep 1, 2023
d629aa7
resolived conflicts
matthewnitschke-wk Sep 11, 2023
fe630e5
fixed issue with null typedef references
matthewnitschke-wk Sep 11, 2023
80645e3
added ast-printer to assist in debugging dart ast
matthewnitschke-wk Sep 11, 2023
804b6f6
removed print statement
matthewnitschke-wk Sep 11, 2023
467c9d3
fmt
matthewnitschke-wk Sep 11, 2023
a59ccce
fixed errors indexing prefixes
matthewnitschke-wk Sep 11, 2023
98ee48b
fmt
matthewnitschke-wk Sep 11, 2023
06e0279
regen
matthewnitschke-wk Sep 11, 2023
213dee1
un-format scip snaps
matthewnitschke-wk Sep 11, 2023
a0cc468
re-pug retreived
matthewnitschke-wk Sep 28, 2023
a1ce846
resolved conflicts
matthewnitschke-wk Sep 28, 2023
9988a0d
regen
matthewnitschke-wk Sep 28, 2023
c1a887e
regen snaps
matthewnitschke-wk Sep 28, 2023
f56d424
scoped format
matthewnitschke-wk Sep 28, 2023
c57189f
master merge
matthewnitschke-wk Jan 28, 2024
4321d00
merged master
matthewnitschke-wk Jan 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,26 @@ jobs:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
with:
sdk: 2.18.7
sdk: 3.1.0
- run: dart pub get
- run: dart run dart_dev analyze
- run: dart analyze

format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
with:
sdk: 2.18.7
sdk: 3.1.0
- run: dart pub get
- run: dart run dart_dev format --check
- run: dart format --set-exit-if-changed .

dependency-validator:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
with:
sdk: 2.18.7
sdk: 3.1.0
- run: dart pub get
- run: dart run dependency_validator
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dart 3.1.0
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"dart.sdkPath": "~/.asdf/installs/dart/3.1.0/dart-sdk"
}
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ regen-snapshots:
dart run scip_dart ./snapshots/input/basic-project
scip snapshot --to ./snapshots/output/basic-project

dart run scip_dart ./snapshots/input/dart3-features --verbose
scip snapshot --to ./snapshots/output/dart3-features

dart run scip_dart --index-relationships ./snapshots/input/relationships-project
scip snapshot --to ./snapshots/output/relationships-project

Expand All @@ -17,6 +20,7 @@ lint:
stats:
scip stats

# Requires running `dart pub global acitvate protoc_plugin`
gen-proto:
protoc --dart_out=. ./lib/src/gen/scip.proto

Expand Down
4 changes: 2 additions & 2 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include: package:workiva_analysis_options/v2.yaml

analyzer:
strong-mode:
implicit-casts: false
language:
strict-casts: true
exclude:
- snapshots/**
572 changes: 398 additions & 174 deletions lib/src/gen/scip.pb.dart

Large diffs are not rendered by default.

343 changes: 180 additions & 163 deletions lib/src/gen/scip.pbenum.dart

Large diffs are not rendered by default.

Loading