14:19
<bradleymeck>
seriously considering proposing `from "" import {...};` , just to see if it is possible to get through committee
14:49
<bradleymeck>
why not https://github.com/bmeck/proposal-from-import
14:55
<devsnek>
bradleymeck: plsno
14:56
<bradleymeck>
devsnek: i put up proposals to get final words on if we are willing to do things. even if we fail to agree, it means we can at least point to actual conclusions rather than social debate
14:56
<bradleymeck>
i think its fine to add, but certainly kind of :( to add duplicate forms
14:56
<bradleymeck>
import code completion does suck currently
14:56
<devsnek>
I don't understand the asi problem
14:56
<devsnek>
the from in an import declaration can only be part of that import declaration
14:57
<bradleymeck>
`from\n"x"\nimport\nx\n`
14:57
<devsnek>
where's the asi problem in that
14:58
<bradleymeck>
from "x" could be identifier, string
14:58
<devsnek>
we can tell asi not to put semicolons there
14:58
<bradleymeck>
devsnek: we cannot change ASI, thats been talked about quite a bit
14:58
<bradleymeck>
you can change where newlines are allowed
14:59
<devsnek>
we have consensus that disallowing asi in unambiguous productions is a bad thing?
15:00
<bradleymeck>
i don't know what that means
15:00
<devsnek>
like
15:00
<bradleymeck>
but we have strong anti-consensus on changing ASI
15:00
<devsnek>
you can't confuse that block of code for anything except what it is
15:00
<devsnek>
asi wouldn't even produce valid code would it
15:00
<bradleymeck>
but you don't know that until you read the full syntax production?
15:00
<devsnek>
actually isn't that one of the requirements
15:01
<devsnek>
adding the semicolon can't cause a syntax error
15:02
<bradleymeck>
correct, but from;"x"; is valid
15:03
<devsnek>
from isn't reserved?
15:04
<bradleymeck>
nope
15:04
<devsnek>
:(
15:19
<bradleymeck>
we could always add \ as a "DONT ASI ME MY FRIEND" before newlines I believe, which is equally sad
16:05
<jmdyck>
devsnek: "adding a semicolon can't cause a syntax error" is not an ASI requirement
16:07
<devsnek>
asi is a bug
16:08
<Bakkot>
devsnek unfortunately https://www.hyrumslaw.com/
16:09
<devsnek>
lol