Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
1d14a5b
Add support for `import defer` proposal
ryzokuken Jul 8, 2024
7136718
Update AST to unify `type` with other modifiers
nicolo-ribaudo Dec 19, 2024
6967224
Add test for comments around `defer`
nicolo-ribaudo Dec 19, 2024
2346fa5
Remove unnecessary backwards compat check
nicolo-ribaudo Jan 16, 2025
e3a1a18
Add support for `import.defer(...)`
nicolo-ribaudo Jan 16, 2025
c3bcd0b
Also support `module: NodeNext`
nicolo-ribaudo Jan 17, 2025
8d4fd08
`aren't` -> `are not`
nicolo-ribaudo Jan 17, 2025
7cdc422
ImportPhaseModifier -> ImportPhaseModifierSyntaxKind
nicolo-ribaudo Jan 17, 2025
994ec08
Move import clause checks to checker.ts
nicolo-ribaudo Jan 17, 2025
95183c4
Report `'(' expected` for import.defer
nicolo-ribaudo Jan 17, 2025
33309e8
Make meta property error localizable
nicolo-ribaudo Jan 17, 2025
00adf6e
Move `import.defer` checks to checker.ts
nicolo-ribaudo Jan 17, 2025
cd045bb
Unify tests testing different values of `module`
nicolo-ribaudo Jan 17, 2025
fc0908f
Move `errorType` for `import.defer` handling
nicolo-ribaudo Jan 17, 2025
dec1011
Do not consider `import.defer` in `import.defer(...)` as an expression
nicolo-ribaudo Jan 17, 2025
8d2451a
fmt
nicolo-ribaudo Jan 17, 2025
c485777
Sort tokens alphabetically
nicolo-ribaudo Jan 17, 2025
706bb58
Remove unused baselines
nicolo-ribaudo Jan 20, 2025
bfbcc3f
Properly resolve specifiers in `import.defer(...)`
nicolo-ribaudo Jan 20, 2025
bad45a3
rbuckton review
nicolo-ribaudo Feb 5, 2025
5f54ced
Add test for jsdoc (unsupported)
nicolo-ribaudo Jun 5, 2025
1e445bf
Strip `defer` from dts
nicolo-ribaudo Jun 5, 2025
1886e24
Use `LastKeyword` for `LastContextualKeyword`
nicolo-ribaudo Jun 5, 2025
ffcfd9a
Add test for `typeof import.defer` (unsupported)
nicolo-ribaudo Jun 5, 2025
b352c0d
Drop support for `nodenext`, and allow when `preserve`
nicolo-ribaudo Jun 5, 2025
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
Prev Previous commit
Next Next commit
Sort tokens alphabetically
  • Loading branch information
nicolo-ribaudo committed Jun 5, 2025
commit c48577762315e7eedd8f87f3088a3a490db99976
2 changes: 1 addition & 1 deletion src/compiler/scanner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ export const textToKeywordObj: MapLike<KeywordSyntaxKind> = {
debugger: SyntaxKind.DebuggerKeyword,
declare: SyntaxKind.DeclareKeyword,
default: SyntaxKind.DefaultKeyword,
defer: SyntaxKind.DeferKeyword,
delete: SyntaxKind.DeleteKeyword,
do: SyntaxKind.DoKeyword,
else: SyntaxKind.ElseKeyword,
Expand Down Expand Up @@ -203,7 +204,6 @@ export const textToKeywordObj: MapLike<KeywordSyntaxKind> = {
true: SyntaxKind.TrueKeyword,
try: SyntaxKind.TryKeyword,
type: SyntaxKind.TypeKeyword,
defer: SyntaxKind.DeferKeyword,
typeof: SyntaxKind.TypeOfKeyword,
undefined: SyntaxKind.UndefinedKeyword,
unique: SyntaxKind.UniqueKeyword,
Expand Down