Skip to content

Analyzer v6.2 #68

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

Draft
wants to merge 31 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all 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.19.6
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.19.6
sdk: 3.1.0
- run: dart pub get
- run: dart run dart_dev format --check
- run: dart format --set-exit-if-changed lib bin

dependency-validator:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
with:
sdk: 2.19.6
sdk: 3.1.0
- run: dart pub get
- run: dart run dependency_validator
6 changes: 3 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
- uses: dart-lang/setup-dart@v1
with:
# use a fixed version number so changes to 'stable', dont break snapshot diffs (language version is used in the scip symbol)
sdk: 2.19.6
- name: dart pub get scip-dart package
sdk: 3.1.0
- name: pub get scip-dart package
run: dart pub get

- name: dart pub get basic-project directory
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
with:
sdk: 2.19.6
sdk: 3.1.0
- run: dart pub get

# Setup repo to run on
Expand Down
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"
}
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ lint:
stats:
scip stats

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

print:
scip print ./index.scip
scip print ./index.scip

print-ast:
dart ./tool/ast_printer.dart ./snapshots/input/staging-project
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/**
Loading