Skip to content

Instantly share code, notes, and snippets.

@jorendorff
Created February 12, 2016 22:57
Show Gist options
  • Save jorendorff/78021bccbe1c17ba9fd0 to your computer and use it in GitHub Desktop.
Save jorendorff/78021bccbe1c17ba9fd0 to your computer and use it in GitHub Desktop.
— mrrrgn pretty sure she has destructuring with shorthand defaults in the bag https://www.youtube.com/watch?v=cyWWf1Zo28g
4:35 PM <mrrrgn> https://irccloud.mozilla.com/pastebin/PzoPzVgu
4:35 PM — mrrrgn lolz
4:37 PM <sfink> you can't have everything
4:38 PM <mrrrgn> haha
4:41 PM → ricotz joined ([email protected])
4:42 PM <mrrrgn> It's not hopeless. This patch gives us a way to stash errors and continue parsing, and if any slip past there's a nice segfault waiting ^ courtesy MOZ_ASSERT
4:42 PM <shu> you should stash segfaults
4:42 PM <shu> and continue parsing
4:42 PM <mrrrgn> lmao
4:42 PM <mrrrgn> yesssss
4:43 PM — mrrrgn thinks MOZ_ASSERTs should show up as clippy messages
4:43 PM <mrrrgn> "Hi, it looks like you're trying to destructure, need some help?"
4:43 PM <mrrrgn> "Hi, it looks like you're accessing invalid pages, mind if I help?"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment