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

new implementation of Resolver #84

Open
wants to merge 36 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
2a471c6
wip
ajafff Nov 17, 2018
bce0e16
handle uses in decorators, type parameter extends and conditional type
ajafff Nov 17, 2018
b77b908
don't analyze function body if not necessary
ajafff Nov 17, 2018
e43a9e4
various bugfixes
ajafff Nov 17, 2018
6594b87
restore namespace domain lookup
ajafff Nov 17, 2018
1236705
allow more sources of TypeChecker
ajafff Nov 18, 2018
987b6c2
don't fail fast on lazy symbols
ajafff Nov 18, 2018
3a49249
correctly visit TypeParameter.default
ajafff Nov 18, 2018
ef45125
fix shadowing of symbols
ajafff Nov 19, 2018
e146dae
Merge branch 'master' into resolver
ajafff Nov 19, 2018
04af2f5
handle WithStatement
ajafff Nov 19, 2018
4f9ce12
handle callable signature the same as functions
ajafff Nov 19, 2018
496d758
refactor uses for parent, decorator can no longer access type parameter
ajafff Nov 19, 2018
3e13be8
make stuff protected
ajafff Nov 19, 2018
bb9065f
parameter decorator cannot reference decorator
ajafff Nov 19, 2018
dc14c6b
handle computed property name and heritage clauses
ajafff Nov 20, 2018
d8cccd3
unify code paths
ajafff Nov 21, 2018
f97a978
add special handling for arguments
ajafff Nov 21, 2018
4a2a45c
fix lint and refactoring
ajafff Nov 21, 2018
872e64e
Merge branch 'master' into resolver
ajafff Nov 22, 2018
f1e8afd
optimize FunctionLikeScope
ajafff Nov 22, 2018
4b78491
fix bug with sparse array destructuring
ajafff Nov 22, 2018
d1be913
Merge branch 'master' into resolver
ajafff Nov 22, 2018
5bed3dd
micro optimization
ajafff Nov 22, 2018
a88388f
added isAmbientModule
ajafff Nov 25, 2018
767023a
update lookup in merged ambient modules
ajafff Nov 25, 2018
31ef85d
implement declaration lookup, fix conditional type propagation
ajafff Nov 26, 2018
9e3322a
optimize lookup where possible
ajafff Nov 26, 2018
a1c97fa
filter declarations on lookup
ajafff Nov 26, 2018
e68e4e6
allow type and namespace uses inside WithStatement
ajafff Nov 26, 2018
55debce
Merge branch 'master' into resolver
ajafff Nov 26, 2018
d499ca9
fix lookup of InferType
ajafff Nov 27, 2018
6392c15
don't eagerly initialize child scopes of BlockScope
ajafff Nov 27, 2018
a28a9eb
handle class extends and parameter decorators
ajafff Jan 29, 2019
02ef4e2
track references of this and super
ajafff Jan 30, 2019
aa586be
allow findDeclarations of this and super
ajafff Jan 30, 2019
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
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev"
},
"dependencies": {
"bind-decorator": "^1.0.11",
"tslib": "^1.8.1"
},
"engines": {
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"lib": ["es2016"],
"skipLibCheck": true,
"declaration": true,
"importHelpers": true
"importHelpers": true,
"experimentalDecorators": true
},
"exclude": [
"node_modules",
Expand Down
3 changes: 2 additions & 1 deletion tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@
"switch-final-break": true,
"trailing-comma": [true, {
"singleline": "never",
"multiline": "always"
"multiline": "always",
"esSpecCompliant": true
}],
"triple-equals": [true, "allow-null-check"],
"typedef-whitespace": [true, {
Expand Down
1 change: 1 addition & 0 deletions util/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ export * from './usage';
export * from './control-flow';
export * from './type';
export * from './convert-ast';
export * from './resolver';
Loading