Sheetal Nandi
7d464b81d4
Redirect getProgramBuildInfo onto builder so that we can test it for baselines more easily
2019-02-21 13:21:52 -08:00
Sheetal Nandi
ad72aef4b1
Correctly set sourceFileInfo for bundle when generating output without creating program
2019-02-21 12:54:00 -08:00
Sheetal Nandi
e9fb843e56
Add test to verify incremental build is same as if its built clean
2019-02-21 12:46:04 -08:00
Sheetal Nandi
86b610df4b
Merge branch 'master' into incrementalBuildInfo
2019-02-21 10:32:09 -08:00
Sheetal Nandi
db2cfa00a2
Fix emit when internal propogates through multiple levels of references
2019-02-21 10:23:14 -08:00
Sheetal Nandi
d25a6e1cc5
Combine d.ts and .js emit
2019-02-21 09:05:32 -08:00
Sheetal Nandi
4bef3ac6a1
Because we already have texts for fixing the emits, write them only if changed
2019-02-20 15:45:12 -08:00
Sheetal Nandi
224f3ca975
Enable other stripinternal test cases
2019-02-20 15:01:48 -08:00
Sheetal Nandi
d9311f96e5
Fix issue with .tsbuildinfo the .d.ts emit when emitting without creating program
2019-02-20 12:55:08 -08:00
Daniel Rosenwasser and GitHub
4e3efc2e90
fix no space before equal operator in type parameter ( #29990 )
...
fix no space before equal operator in type parameter
2019-02-20 12:16:18 -08:00
Sheetal Nandi
1c8970d30b
Handle synthetic references better
2019-02-20 11:37:45 -08:00
Sheetal Nandi
0cd7074e1b
Handle emit when using prepends and the referencing project has --stripInternal true
2019-02-20 10:41:28 -08:00
Sheetal Nandi
a0f3420001
Add sections to the prepend (to be later used for stripInternal)
2019-02-20 10:41:26 -08:00
Sheetal Nandi
53704227d0
Add test for multi level prepend
2019-02-20 10:41:24 -08:00
Sheetal Nandi
aa773e0705
Tests for strip internal
2019-02-20 10:41:21 -08:00
Sheetal Nandi
a881391dc9
Merge branch 'master' into incrementalBuildInfo
2019-02-20 10:37:44 -08:00
xiaofa
7c8c6cf4d0
fix no space before equal operator in type parameter
2019-02-20 18:12:09 +08:00
Wesley Wigham and GitHub
ee17915801
Fix build breaks ( #29977 )
...
* Some callbacks in watchUtilities werent being strictly checked due to the structural fallback
* Add direct dependeny on ms since mocha removed its impl
* Manually init stats collection on base runner like mocha.run now does
2019-02-19 14:30:58 -08:00
Anders Hejlsberg and GitHub
071708f8a7
Merge pull request #29959 from Microsoft/noResolvedTypeOverwrite
...
Never overwrite resolved types of symbols
2019-02-19 12:22:44 -08:00
Wesley Wigham and GitHub
eafff75c2a
Remove diagnostic dependent output in structuredTypeRelatedTo ( #29817 )
...
* Unify variance probing error exceptions between interfaces/aliases
* Consistiently return false on variance probe failure
* Remove strictFunctionTypes early bail from getVariances so independent type parameters are correctly measured
* Fix lint, remove now-redundant change from covariant void check function
2019-02-19 11:39:16 -08:00
Anders Hejlsberg
059fd2d42e
Never overwrite resolved type of symbol
2019-02-18 07:25:08 -10:00
Sheetal Nandi and GitHub
b2b360a64f
Merge pull request #29816 from Microsoft/ti
...
Use execFileSync in typing installer
2019-02-15 10:47:04 -08:00
Ryan Cavanaugh and GitHub
d517713f50
Merge pull request #29935 from RyanCavanaugh/md5_2_sha
...
Use sha256 to hash file contents
2019-02-15 10:28:23 -08:00
Anders Hejlsberg and GitHub
691df0e4b5
Merge pull request #29923 from Microsoft/freeTypeFlags
...
Free up some type flags
2019-02-15 09:10:21 -08:00
Ryan Cavanaugh
7983813be0
Use sha256 to hash file contents
2019-02-15 09:03:15 -08:00
Anders Hejlsberg
8f52f21f0d
Fix broken check in getUnionType (check was always true)
2019-02-15 06:22:17 -08:00
Anders Hejlsberg
3e745e65cd
Simplify flags propagation logic
2019-02-14 15:22:19 -08:00
Anders Hejlsberg
b57956673e
Move TypeFlags.PropapatingFlags to ObjectFlags to free up 3 flags
2019-02-14 14:42:55 -08:00
Ryan Cavanaugh and GitHub
cc987a1921
Merge pull request #29896 from dragomirtitian/GH-29778
...
Improve error message for using value as type
2019-02-14 13:14:20 -08:00
Sheetal Nandi
b958f1c8b5
Merge branch 'master' into incrementalBuildInfo
2019-02-14 12:19:10 -08:00
Wesley Wigham and GitHub
84076a5535
Add diagnostic context for expando property declarations ( #29905 )
2019-02-13 22:54:33 -08:00
Titian Cernicova-Dragomir
c358b0b4a5
Fixed tslint error.
2019-02-14 07:23:11 +02:00
Titian Cernicova-Dragomir
950861ec7f
Improve error message for using value as type.
2019-02-13 17:25:23 +02:00
Wesley Wigham and GitHub
6d2b738bd8
Use built local on CI and not LKG ( #29886 )
...
* Use built local on CI and not LKG
* Adjust function to remove need for assertions
* Accept baseline diff to go back to local based baseline
* Remove comment
2019-02-12 17:55:19 -08:00
Sheetal Nandi
499bc70056
Make printer option to be writing bunfle file info and use the result instead
2019-02-11 13:47:24 -08:00
Sheetal Nandi
217a34256c
Move bundleFileInfo as printer options
2019-02-11 13:13:19 -08:00
Ryan Cavanaugh and GitHub
75101d4b72
Merge pull request #29860 from RyanCavanaugh/noEval
...
Enable no-eval rule
2019-02-11 11:47:05 -08:00
Anders Hejlsberg and GitHub
f93f4f3c62
Merge pull request #29847 from Microsoft/inferToUnionTypes
...
Improve inference to union and intersection types
2019-02-11 11:34:05 -08:00
Anders Hejlsberg and GitHub
d66000bc47
Merge pull request #29787 from Microsoft/inferToPartiallyHomomorphic
...
Infer to partially homomorphic types (such as Pick<T, K>)
2019-02-11 11:33:27 -08:00
Ryan Cavanaugh
02a5ef6a17
Add setInterval/setTimeout
2019-02-11 11:26:19 -08:00
Ryan Cavanaugh
1f10e74abc
Enable no-eval rule
2019-02-11 11:18:29 -08:00
Anders Hejlsberg
ce6c04e9b5
Merge branch 'master' into inferToUnionTypes
2019-02-11 11:00:41 -08:00
Anders Hejlsberg and GitHub
32b44ac65a
Merge pull request #29858 from Microsoft/fixContextualRestTuple
...
Fix contextual types computed from rest parameters
2019-02-11 10:59:11 -08:00
Nathan Shively-Sanders and GitHub
17d16d1bbb
Disable checkJS survey ( #29830 )
...
* Disable checkJS survey
* Completely remove survey infrastructure
* Re-instate the protocol part of SurveyReady
2019-02-11 08:36:35 -08:00
Anders Hejlsberg
1f32139811
Make inferences to union types containing multiple naked type variables
2019-02-10 15:07:01 -08:00
Anders Hejlsberg
9a0a838d12
Use getIndexedAccess to compute type for contextual rest parameters
2019-02-10 07:48:22 -08:00
Matt McCutchen
1aca1dd036
Make the assignability rule for conditional types require the check
...
types and distributivity to be identical.
Fixes #27118 .
2019-02-09 17:22:08 -05:00
Anders Hejlsberg
040401205b
Delete wayward comment
2019-02-08 06:53:39 -08:00
Anders Hejlsberg
f46c0a4597
Process more complex constraints as per CR feedback
2019-02-08 06:49:13 -08:00
Sheetal Nandi
1d77008993
Handle when no .tsbuildinfo is to be generated
2019-02-07 16:27:45 -08:00