Skip to content

Commit 99d448a

Browse files
committedOct 13, 2015
Merge pull request #5231 from Microsoft/removeExperimentalAsyncFunctions
Remove experimental async functions
2 parents b2d666c + e9bed76 commit 99d448a

File tree

56 files changed

+0
-74
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+0
-74
lines changed
 

‎src/compiler/checker.ts

-4
Original file line numberDiff line numberDiff line change
@@ -11766,10 +11766,6 @@ namespace ts {
1176611766
checkSignatureDeclaration(node);
1176711767
let isAsync = isAsyncFunctionLike(node);
1176811768
if (isAsync) {
11769-
if (!compilerOptions.experimentalAsyncFunctions) {
11770-
error(node, Diagnostics.Experimental_support_for_async_functions_is_a_feature_that_is_subject_to_change_in_a_future_release_Specify_experimentalAsyncFunctions_to_remove_this_warning);
11771-
}
11772-
1177311769
emitAwaiter = true;
1177411770
}
1177511771

‎src/compiler/commandLineParser.ts

-5
Original file line numberDiff line numberDiff line change
@@ -222,11 +222,6 @@ namespace ts {
222222
type: "boolean",
223223
description: Diagnostics.Watch_input_files,
224224
},
225-
{
226-
name: "experimentalAsyncFunctions",
227-
type: "boolean",
228-
description: Diagnostics.Enables_experimental_support_for_ES7_async_functions
229-
},
230225
{
231226
name: "experimentalDecorators",
232227
type: "boolean",

0 commit comments

Comments
 (0)
Please sign in to comment.