Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

PoC %typeof#7870

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
zth wants to merge4 commits intomaster
base:master
Choose a base branch
Loading
frompoc-typeof
Draft

PoC %typeof#7870

zth wants to merge4 commits intomasterfrompoc-typeof

Conversation

@zth
Copy link
Member

@zthzth commentedSep 10, 2025

No description provided.

@pkg-pr-new
Copy link

pkg-pr-newbot commentedSep 10, 2025
edited
Loading

Open in StackBlitz

rescript

npm i https://pkg.pr.new/rescript-lang/rescript@7870

@rescript/darwin-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-arm64@7870

@rescript/darwin-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-x64@7870

@rescript/linux-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-arm64@7870

@rescript/linux-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-x64@7870

@rescript/runtime

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/runtime@7870

@rescript/win32-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/win32-x64@7870

commit:5120753

raise (Error_forward (Builtin_attributes.error_of_extension ext))
|Ptyp_extensionext -> (
match extwith
|{txt ="typeof";loc =ext_loc},payload -> (
Copy link
Member

Choose a reason for hiding this comment

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

Wow, this is surprisingly easy.
Might inspire me to take a stab at something like%nameof()

@zthzth added this to thev12.1 milestoneOct 7, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nojafnojafnojaf left review comments

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

v12.1

Development

Successfully merging this pull request may close these issues.

3 participants

@zth@nojaf

[8]ページ先頭

©2009-2025 Movatter.jp