388 Commits

Author SHA1 Message Date
Anders Hejlsberg
411ca6afab Accepting new baselines 2014-10-17 13:46:41 -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
Mohamed Hegazy
a37106d4da Merge pull request #748 from chrisbubernak/selfReferencingFileError
Fix issue #568 (no error for file self reference)
2014-10-01 13:44:47 -07:00
Yui T
296e8e01b3 Update Baselines 2014-10-01 11:27:20 -07:00
Yui T
c2d86711e8 Update baselines 2014-09-30 18:09:55 -07:00
Sheetal Nandi
0dbd303084 Fix the quick info on error types 2014-09-30 17:14:58 -07:00
Jason Freeman
ab3326f7b7 Fix arity checking for partial overload resolution 2014-09-30 17:13:47 -07:00
Daniel Rosenwasser
5851752e32 Merge branch 'master' into navbar
Conflicts:
	Jakefile
	src/services/getScriptLexicalStructureWalker.ts
	src/services/services.ts
2014-09-30 14:20:58 -07:00
ChrisBubernak
1b3da908de fixing baseline 2014-09-26 09:33:06 -07:00
ChrisBubernak
93db897778 Fixed some of the baselines, made file comparisons handle different
casing, put diagnostic message in correct order
2014-09-26 07:47:44 -07:00