Commit graph

16 commits

Author SHA1 Message Date
Ron Buckton 6c9827725c Fix symbol-named properties incorrectly requiring alignment with string indexer type 2018-01-16 15:45:10 -08:00
Daniel Rosenwasser 8aeff70e48 Fix a test so that we don't get duplicate declaration errors. 2015-04-09 14:14:55 -07:00
Daniel Rosenwasser 33028d5199 Replace uses of 'Symbol.isRegExp' with 'Symbol.toPrimitive'. 2015-04-09 14:06:57 -07:00
Jason Freeman ac829a8384 Error for naming an interface 'symbol' 2015-02-16 10:44:30 -08:00
Jason Freeman 18276e5267 Address feedback from @yuit 2015-02-10 16:13:28 -08:00
Jason Freeman 35604426c8 Declaration emit for symbol properties 2015-02-06 21:32:54 -08:00
Jason Freeman 4c09ccd60e Check that Symbol properties are proper, and support downlevel type checking 2015-02-06 21:32:51 -08:00
Jason Freeman d07ed679a0 Support indexing with known symbols 2015-02-06 21:32:40 -08:00
Jason Freeman df826de042 symbols in type guards 2015-02-06 21:32:37 -08:00
Jason Freeman 9f39a5388a Make Symbol the apparent type of symbol 2015-02-06 21:32:33 -08:00
Jason Freeman fbeadbcbd3 Add test for new Symbol() 2015-02-06 21:32:30 -08:00
Jason Freeman 2d1647485c Fix expression checking for symbols 2015-02-06 21:32:20 -08:00
Jason Freeman ebdd96bacf Update tests to use new symbol keyword 2015-02-06 21:32:05 -08:00
Jason Freeman 779661c8da Add tests for symbol properties 2015-02-06 21:31:54 -08:00
Jason Freeman b60fa1467f Add tests for operators with symbol operand 2015-02-06 21:31:51 -08:00
Jason Freeman 9cb38fb5f2 Create global Symbol type 2015-02-06 21:31:44 -08:00