Repository navigation
Show exact error position in arrays & arrow functions #27030
Copy link
Copy link
Closed
Labels
Domain: Error MessagesThe issue relates to error messagingThe issue relates to error messagingExperience EnhancementNoncontroversial enhancementsNoncontroversial enhancementsFixedA PR has been merged for this issueA PR has been merged for this issue
Milestone
Description
Activity
- addedDomain: Error MessagesThe issue relates to error messagingThe issue relates to error messagingExperience EnhancementNoncontroversial enhancementsNoncontroversial enhancements
on Sep 11, 2018 DanielRosenwasser commented
on Sep 11, 2018 MemberMore actionsThis can get arbitrarily complex, but I think that for certain arrays and arrow functions, we can definitely do better here.
DanielRosenwasser commented
on Sep 11, 2018 MemberMore actionsSpecifically I can see us dealing with
foo1,foo3, andypretty easily. I think thatfoo2andzwill be harder.Daniel Rosenwasser (@DanielRosenwasser) It should just be a matter of adding more cases to
elaborateErrorto handle diving into more expressions.- changed the title
[-]Error output: show exact error position if it possible [/-][+]Show exact error position in arrays & arrow functions[/+]on Sep 11, 2018 - addedFixedA PR has been merged for this issueA PR has been merged for this issue
on Oct 30, 2018 DanielRosenwasser commented
on Oct 30, 2018 MemberMore actionsI think that the majority of work done has been done here; the
Promise.resolvecase is a little harder, but if it's compelling enough for your day-to-day coding I encourage you to open up another issue. Thanks cevek!
Metadata
Metadata
Assignees
Labels
Domain: Error MessagesThe issue relates to error messagingThe issue relates to error messagingExperience EnhancementNoncontroversial enhancementsNoncontroversial enhancementsFixedA PR has been merged for this issueA PR has been merged for this issue
If it is not assignable error and infered expression type origin comes from inside of ast error boundaries we can show exact position of an error source
Daniel Rosenwasser (@DanielRosenwasser) what do you think?