Skip to content

Exception support, emit metadata.exception#36

Merged
dividedmind merged 10 commits intomainfrom
feat/metadata-exception
Nov 25, 2023
Merged

Exception support, emit metadata.exception#36
dividedmind merged 10 commits intomainfrom
feat/metadata-exception

Conversation

@dividedmind
Copy link
Copy Markdown
Collaborator

And assorted other improvements. I suggest reviewing per-commit.

Fixes #26

Node doesn't have user-visible object ids, but since they can be
quite useful for data tracking we can generate them sequentially.
Use the fact that generated code won't map to a source file (if
a source map is present) to automatically ignore it.

Also, instead of crawling the entire source tree and fixing up all
node locations with the source map, only consult it when necessary
for accurate location of recorded functions.

Resolving locations with source maps is expensive and most of the
work involved with the tree crawl has been wasted.
@dividedmind dividedmind force-pushed the feat/metadata-exception branch from 9194b15 to 0d649ef Compare November 24, 2023 14:30
@dividedmind dividedmind self-assigned this Nov 24, 2023
zermelo-wisen
zermelo-wisen previously approved these changes Nov 24, 2023
@zermelo-wisen zermelo-wisen dismissed their stale review November 24, 2023 14:46

I intended to review per-commit.

@zermelo-wisen zermelo-wisen self-requested a review November 24, 2023 14:46
Copy link
Copy Markdown
Contributor

@zermelo-wisen zermelo-wisen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I went through each commit individually, looks good, thank you.

@dividedmind dividedmind merged commit 84bda66 into main Nov 25, 2023
@dividedmind dividedmind deleted the feat/metadata-exception branch November 25, 2023 18:37
@appland-release
Copy link
Copy Markdown

🎉 This PR is included in version 2.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

metadata: exception

3 participants