Skip to content

Conversation

@timotheeguerin
Copy link
Member

@timotheeguerin timotheeguerin commented Jun 12, 2024

const a = unixTimestamp.fromISO("...");

a would have the scalar utcDateTime not unixTimestamp

@microsoft-github-policy-service microsoft-github-policy-service bot added the compiler:core Issues for @typespec/compiler label Jun 12, 2024
@timotheeguerin timotheeguerin changed the title Fix: Scalar constructors Fix: Using a scalar constructor defined in a parent scalar doesn't reference the right scalar Jun 12, 2024
@azure-sdk
Copy link
Collaborator

azure-sdk commented Jun 12, 2024

All changed packages have been documented.

  • @typespec/compiler
Show changes

@typespec/compiler - internal ✏️

Fix: Using a scalar constructor defined in a parent scalar doesn't reference the right scalar

@timotheeguerin timotheeguerin enabled auto-merge June 12, 2024 20:45
@azure-sdk
Copy link
Collaborator

You can try these changes at https://cadlplayground.z22.web.core.windows.net/prs/3573/

Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/prs/3573/

@timotheeguerin timotheeguerin added this pull request to the merge queue Jun 12, 2024
Merged via the queue into microsoft:main with commit 5bc98d9 Jun 12, 2024
@timotheeguerin timotheeguerin deleted the fix/scalar-constructor-clone branch June 12, 2024 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compiler:core Issues for @typespec/compiler

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants