Anders Hejlsberg
ff20df7a4a
Merge branch 'master' into optionalPropertySubtyping
...
Conflicts:
tests/baselines/reference/arrayLiteralWithMultipleBestCommonTypes.types
2014-10-20 11:33:23 -07:00
Anders Hejlsberg
152a9402d0
Merge pull request #914 from Microsoft/parensInTypes
...
Parentheses in type literals
2014-10-20 09:43:07 -07:00
Anders Hejlsberg
40d12a0995
Accepting new baselines
2014-10-19 16:44:32 -07:00
Anders Hejlsberg
f3bd294d0e
Adding tests
2014-10-19 07:57:10 -07:00
Anders Hejlsberg
e96983dd2b
Merge pull request #908 from Microsoft/contextualSignatureUnionTypes
...
Union types in contextual signature instantiations
2014-10-18 08:47:41 -07:00
Anders Hejlsberg
e5872b4824
Addressing CR feedback
2014-10-18 08:37:33 -07:00
Anders Hejlsberg
df715decbc
Changing type-to-string conversions to use parentheses
2014-10-17 16:53:18 -07:00
Anders Hejlsberg
411ca6afab
Accepting new baselines
2014-10-17 13:46:41 -07:00
Anders Hejlsberg
c00ee42b11
Adding tests
2014-10-16 20:52:36 -07:00
Daniel Rosenwasser
73d575e317
Merge branch 'master' into numbersAreHard
...
Conflicts:
src/compiler/checker.ts
tests/baselines/reference/numericIndexerConstrainsPropertyDeclarations.errors.txt
tests/baselines/reference/numericIndexerConstrainsPropertyDeclarations2.errors.txt
2014-10-15 17:07:22 -07:00
Anders Hejlsberg
fc842b177e
Merge branch 'master' into unionTypes
...
Conflicts:
src/compiler/checker.ts
src/compiler/types.ts
src/services/services.ts
tests/baselines/reference/assignmentCompatBetweenTupleAndArray.errors.txt
tests/baselines/reference/bestCommonTypeOfTuple.types
tests/baselines/reference/bestCommonTypeOfTuple2.types
tests/baselines/reference/castingTuple.errors.txt
tests/baselines/reference/contextualTypeWithTuple.errors.txt
tests/baselines/reference/genericCallWithTupleType.errors.txt
tests/baselines/reference/indexerWithTuple.types
tests/baselines/reference/numericIndexerConstrainsPropertyDeclarations.errors.txt
2014-10-13 12:37:34 -07:00
Anders Hejlsberg
a76a418814
Accepting new baselines
2014-10-13 06:56:58 -07:00
Anders Hejlsberg
c9a42c19ab
Accepting new baselines
2014-10-10 17:01:28 -07:00
Mohamed Hegazy
bdac6ca895
Merge pull request #841 from chrisbubernak/disallowNumericEnumMembers
...
Fix for issue #134 (Disallow numeric enum members)
2014-10-10 16:24:12 -07:00
Dan Quirk
8ce1760d9e
Fixing merge conflicts
2014-10-10 14:49:35 -07:00
Dan Quirk
bacb9d0b22
Test updates from union changes
2014-10-10 14:41:14 -07:00
Cyrus Najmabadi
d003561464
Fix newlines in tests
2014-10-10 14:23:12 -07:00
Daniel Rosenwasser
9f32f64a48
Make things more conformant with 9.8.1 of EC-262 spec.
...
Specifically, a numeric property is simply now any property whose name N is equal to ToString(ToNumber(N)).
2014-10-10 14:12:21 -07:00
Daniel Rosenwasser
291982007a
Merge branch 'master' into numbersAreHard
...
Conflicts:
tests/baselines/reference/numericIndexerConstrainsPropertyDeclarations.errors.txt
2014-10-09 14:38:19 -07:00
Yui T
00c30a3ed7
Merge branch 'master' into fixThrowExceptionOnEmitFile
2014-10-09 14:36:48 -07:00
Daniel Rosenwasser
13b5fe0573
Ensure that numeric names are in their printed form.
2014-10-09 12:50:01 -07:00
Yui T
6cb7ffb725
Add baseline
2014-10-09 10:34:22 -07:00
ChrisBubernak
2b4f48996e
Moved the error check from parser to checker & updated baselines
2014-10-09 08:52:53 -07:00
ChrisBubernak
3d6dc58f85
Merge branch 'disallowNumericEnumMembers' of https://github.com/chrisbubernak/TypeScript into disallowNumericEnumMembers
2014-10-09 08:09:11 -07:00
Daniel Rosenwasser
5a49bb610a
Handle numeric signs in 'isNumericName'.
...
To be fair, I don't think humanity knew about negative numbers until like 200 B.C.E.
2014-10-09 00:39:20 -07:00
Sheetal Nandi
58cfc985b9
Merge branch 'master' into symbolInfoFormatting
2014-10-08 18:25:42 -07:00
Yui T
67eff65e03
Add more test cases
2014-10-08 18:15:07 -07:00
Chris Bubernak
16f91b1ef3
fixed error message and updated necessary baselines
2014-10-08 17:23:16 -07:00
Daniel Rosenwasser
92a2c7ff3c
Use our own scanner for 'isNumericName'.
2014-10-08 17:12:36 -07:00
Anders Hejlsberg
5c661baddc
Accepting new baselines after merge with master
...
The tuple type tests from master need to be updated to reflect the new
best common type behavior from union types. This commit simply accepts
the baselines as they are.
2014-10-08 15:37:01 -07:00
Anders Hejlsberg
ea4cbbee4e
Merge branch 'master' into unionTypes
2014-10-08 15:23:37 -07:00
Yui T
40f6b6719f
Add baseline
2014-10-08 15:05:58 -07:00
Anders Hejlsberg
fd5b80805e
Accepting new baselines
...
The new baselines all look correct to me, but obviously a number of the
tests need to be updated to reflect union types and the new behavior of
best common type. This commit does not cover that.
2014-10-08 13:48:44 -07:00
Sheetal Nandi
966e697f2a
Compiler test case for usage of contextual rest parameter
2014-10-08 12:31:03 -07:00
ChrisBubernak
15c5c77704
Fixing tests and baselines
2014-10-08 11:11:36 -07:00
Yui T
530a5c0650
Merge branch 'master' into getEmitOutputExternalModule
2014-10-07 13:21:19 -07:00
Chris Bubernak
8286b67c09
Fixed another bug in parser & fixed up baselines
2014-10-06 22:27:22 -07:00
Yui T
747ae1b1f5
Add fourslash tests to cover external module case
2014-10-06 18:37:01 -07:00
Sheetal Nandi
2de4ad0335
Merge pull request #818 from Microsoft/sourceMapRelativeDirName
...
Fixes incorrect path resolution of sources to sourcemap when the directory paths differ in only case
2014-10-06 11:48:10 -07:00
Sheetal Nandi
4cf78744e3
Added test cases for --outDir option
2014-10-06 11:37:08 -07:00
Yui T
0ef3cd1b22
Merge branch 'master' into tupleConformance
2014-10-06 10:39:12 -07:00
Mohamed Hegazy
432fff1362
Merge pull request #823 from chrisbubernak/betterErrorsForBitwiseOperatorsOnBooleans
...
Fix for issue #712
2014-10-05 09:51:11 -07:00
Chris Bubernak
6044e3aea3
Made fixes based on CR feedback
2014-10-04 10:10:55 -07:00
Chris Bubernak
e6b5591ae9
Updated baselines
2014-10-03 18:50:48 -07:00
Daniel Rosenwasser
c1d15c792b
Merge branch 'master' into navbar
...
Also fixed getSourceText and renamed it to getTextOfNode
2014-10-03 17:44:52 -07:00
Yui T
52f8ae3eec
Tuple conformance
2014-10-03 17:37:29 -07:00
Sheetal Nandi
61994a7e62
Show the type information in places where there is no symbol associated
2014-10-03 15:50:38 -07:00
Sheetal Nandi
710bac6d81
Fix the source map directory resolution with non case sensitive file names
2014-10-03 15:10:12 -07:00
Sheetal Nandi
fe8f736207
Enable tests for the case sensitive and non case sensitive path resolution during soucemap path calculation
2014-10-03 15:07:18 -07:00
Yui T
5926a03363
Merge branch 'master' into flagAllDuplication
2014-10-01 14:27:41 -07:00