Skip to content

feat: add Transform_0_message_1 for transform developer #1909

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

Merged
merged 3 commits into from
Sep 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/diagnosticMessages.generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export enum DiagnosticCode {
Module_requires_at_least_0_pages_of_maximum_memory = 106,
Shared_memory_requires_maximum_memory_to_be_defined = 107,
Shared_memory_requires_feature_threads_to_be_enabled = 108,
Transform_0_1 = 109,
Conversion_from_type_0_to_1_requires_an_explicit_cast = 200,
Conversion_from_type_0_to_1_will_require_an_explicit_cast_when_switching_between_32_64_bit = 201,
Type_0_cannot_be_changed_to_type_1 = 202,
Expand Down Expand Up @@ -194,6 +195,7 @@ export function diagnosticCodeToString(code: DiagnosticCode): string {
case 106: return "Module requires at least '{0}' pages of maximum memory.";
case 107: return "Shared memory requires maximum memory to be defined.";
case 108: return "Shared memory requires feature 'threads' to be enabled.";
case 109: return "Transform '{0}': {1}";
case 200: return "Conversion from type '{0}' to '{1}' requires an explicit cast.";
case 201: return "Conversion from type '{0}' to '{1}' will require an explicit cast when switching between 32/64-bit.";
case 202: return "Type '{0}' cannot be changed to type '{1}'.";
Expand Down
1 change: 1 addition & 0 deletions src/diagnosticMessages.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"Module requires at least '{0}' pages of maximum memory.": 106,
"Shared memory requires maximum memory to be defined.": 107,
"Shared memory requires feature 'threads' to be enabled.": 108,
"Transform '{0}': {1}": 109,

"Conversion from type '{0}' to '{1}' requires an explicit cast.": 200,
"Conversion from type '{0}' to '{1}' will require an explicit cast when switching between 32/64-bit.": 201,
Expand Down