<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Yes, I was mistaken. That is possible only to do via type checking systems. it's not work of javascript of the interpreter. Thanks for explanations.<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">12 февр. 2018 г., в 10:32, T.J. Crowder <<a href="mailto:tj.crowder@farsightsoftware.com" class="">tj.crowder@farsightsoftware.com</a>> написал(а):</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Previous discussion:<div class=""><a href="https://esdiscuss.org/topic/async-await-await-async-a-simpler-less-error-prone-async-syntax" class="">https://esdiscuss.org/topic/async-await-await-async-a-simpler-less-error-prone-async-syntax</a><br class=""></div><div class=""><br class=""></div><div class="">-- T.J. Crowder</div><div class=""><br class=""></div><div class="gmail_extra"><div class="gmail_quote">On Mon, Feb 12, 2018 at 6:29 AM, Александр Ефремов <span dir="ltr" class=""><<a href="mailto:mr.efrem@gmail.com" target="_blank" class="">mr.efrem@gmail.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space" class="">Sorry, but I didn’t understand you sentence. And I have knowledge in the promises of course.<br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">12 февр. 2018 г., в 9:59, Isiah Meadows <<a href="mailto:isiahmeadows@gmail.com" target="_blank" class="">isiahmeadows@gmail.com</a>> написал(а):</div><div class=""><div class="h5"><br class="m_-8023269614196487246Apple-interchange-newline"><div class=""><p dir="ltr" class="">Yeah, and given it's the default, I'm not persuaded of the benefit to be gained here.</p><p dir="ltr" class="">(Most feature requests like these in my experience come from such users who use `async`/`await` without learning promises first. Without that knowledge, people typically don't get that it's merely syntax sugar for the common case, and they rarely understand that `async`/`await` is not obligatory to use async functions. When users realize that, this really does begin to seem superfluous, since the absence of a keyword or `.then`/`.catch` implies you're not awaiting.)</p>
<br class=""><div class="gmail_quote"><div dir="ltr" class="">On Mon, Feb 12, 2018, 00:44 Peter Jaszkowiak <<a href="mailto:p.jaszkow@gmail.com" target="_blank" class="">p.jaszkow@gmail.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto" class="">This certainly doesn't sound backwards compatible. Also, this is something that type checking systems (like typescript and flow) are very good at catching. </div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Feb 11, 2018 22:41, "Александр Ефремов" <<a href="mailto:mr.efrem@gmail.com" target="_blank" class="">mr.efrem@gmail.com</a>> wrote:<br type="attribution" class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space" class=""><div style="word-wrap:break-word;line-break:after-white-space" class=""><span style="color:rgb(36,41,46);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;font-variant-ligatures:normal;background-color:rgb(255,255,255)" class="">Sometimes when create the </span><code style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:11.9px;padding:0.2em 0.4em;margin:0px;background-color:rgba(27,31,35,0.0470588);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;color:rgb(36,41,46);font-variant-ligatures:normal" class="">async</code><span style="color:rgb(36,41,46);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;font-variant-ligatures:normal;background-color:rgb(255,255,255)" class=""> functions forget to add </span><code style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:11.9px;padding:0.2em 0.4em;margin:0px;background-color:rgba(27,31,35,0.0470588);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;color:rgb(36,41,46);font-variant-ligatures:normal" class="">await</code><span style="color:rgb(36,41,46);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;font-variant-ligatures:normal;background-color:rgb(255,255,255)" class=""> and later such mistake difficult to find.</span><br style="box-sizing:border-box;color:rgb(36,41,46);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;font-variant-ligatures:normal;background-color:rgb(255,255,255)" class=""><span style="color:rgb(36,41,46);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;font-variant-ligatures:normal;background-color:rgb(255,255,255)" class="">Maybe would be better always demand to add keyword </span><code style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:11.9px;padding:0.2em 0.4em;margin:0px;background-color:rgba(27,31,35,0.0470588);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;color:rgb(36,41,46);font-variant-ligatures:normal" class="">nowait</code><span style="color:rgb(36,41,46);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;font-variant-ligatures:normal;background-color:rgb(255,255,255)" class=""> to calls returning promises which we don't plan to wait. But if this keyword and </span><code style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:11.9px;padding:0.2em 0.4em;margin:0px;background-color:rgba(27,31,35,0.0470588);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;color:rgb(36,41,46);font-variant-ligatures:normal" class="">await</code><span style="color:rgb(36,41,46);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;font-variant-ligatures:normal;background-color:rgb(255,255,255)" class=""> keyword no exists then throw the error.</span></div></div><br class="">______________________________<wbr class="">_________________<br class="">
es-discuss mailing list<br class="">
<a href="mailto:es-discuss@mozilla.org" target="_blank" class="">es-discuss@mozilla.org</a><br class="">
<a href="https://mail.mozilla.org/listinfo/es-discuss" rel="noreferrer" target="_blank" class="">https://mail.mozilla.org/<wbr class="">listinfo/es-discuss</a><br class="">
<br class=""></blockquote></div></div>
______________________________<wbr class="">_________________<br class="">
es-discuss mailing list<br class="">
<a href="mailto:es-discuss@mozilla.org" target="_blank" class="">es-discuss@mozilla.org</a><br class="">
<a href="https://mail.mozilla.org/listinfo/es-discuss" rel="noreferrer" target="_blank" class="">https://mail.mozilla.org/<wbr class="">listinfo/es-discuss</a><br class="">
</blockquote></div>
______________________________<wbr class="">_________________<br class="">es-discuss mailing list<br class=""><a href="mailto:es-discuss@mozilla.org" target="_blank" class="">es-discuss@mozilla.org</a><br class=""><a href="https://mail.mozilla.org/listinfo/es-discuss" target="_blank" class="">https://mail.mozilla.org/<wbr class="">listinfo/es-discuss</a><br class=""></div></div></div></blockquote></div><br class=""></div><br class="">______________________________<wbr class="">_________________<br class="">
es-discuss mailing list<br class="">
<a href="mailto:es-discuss@mozilla.org" class="">es-discuss@mozilla.org</a><br class="">
<a href="https://mail.mozilla.org/listinfo/es-discuss" rel="noreferrer" target="_blank" class="">https://mail.mozilla.org/<wbr class="">listinfo/es-discuss</a><br class="">
<br class=""></blockquote></div><br class=""></div></div>
</div></blockquote></div><br class=""></body></html>