Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: enhance comment for extract_lane functions to include "idx" argument needs to be compile time constant #2890

Merged

Conversation

KazChe
Copy link
Contributor

@KazChe KazChe commented Dec 11, 2024

Fixes #2877

Changes proposed in this pull request:
⯈ Changes made in the TypeScript declaration file std/assembly/index.d.ts, where the v128.extract_lane functions are declared.
⯈ Comments now include: idx argument needs to be compile time constant.

  • [ x] I've read the contributing guidelines
  • [ x] I've added my name and email to the NOTICE file

@KazChe
Copy link
Contributor Author

KazChe commented Dec 11, 2024

hover_test

Copy link
Member

@HerrCai0907 HerrCai0907 left a comment

Choose a reason for hiding this comment

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

please revert change of notices.
maybe also add this comment to replace_lane

…include idx argument needs to be compile time constant - issue AssemblyScript#2877"

This reverts commit 509ffc4.
…ions to include idx argument needs to be compile time constant - issue AssemblyScript#2877""

This reverts commit 62425c3.
@HerrCai0907
Copy link
Member

sorry. maybe there are some mistake, your name still need to be added in notice, but please don't change the format.

@KazChe
Copy link
Contributor Author

KazChe commented Dec 12, 2024

sorry. maybe there are some mistake, your name still need to be added in notice, but please don't change the format.

done, not sure how I got it all messed up the first time. Sorry about that.

@HerrCai0907 HerrCai0907 changed the title enhance in-line comment for extract_lane functions to include "idx" argument needs to be compile time constant chore: enhance in-line comment for extract_lane functions to include "idx" argument needs to be compile time constant Dec 12, 2024
@HerrCai0907 HerrCai0907 changed the title chore: enhance in-line comment for extract_lane functions to include "idx" argument needs to be compile time constant chore: enhance comment for extract_lane functions to include "idx" argument needs to be compile time constant Dec 12, 2024
@HerrCai0907 HerrCai0907 merged commit 40850fe into AssemblyScript:main Dec 12, 2024
15 of 16 checks passed
@HerrCai0907
Copy link
Member

Thanks!

@KazChe KazChe deleted the v128.extract_lane_doc_issue2877 branch December 12, 2024 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The docs didn't state the v128.extract_lane's idx arg needs to compile time constant
2 participants