-
Couldn't load subscription status.
- Fork 318
Open
Labels
bugSomething isn't workingSomething isn't workingcompiler:coreIssues for @typespec/compilerIssues for @typespec/compilertriaged:core
Milestone
Description
Describe the bug
Looks like transitive type check failed to check against source type
@example(#{
field: "foo",
})
model X {
field: string;
}
@example(#{
ref: "foo", <-- Failed to recognize X.field is of type string.
})
model Y {
ref: X.field;
}
Reproduction
Checklist
- Follow our Code of Conduct
- Check that there isn't already an issue that request the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion.
- The provided reproduction is a minimal reproducible example of the bug.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcompiler:coreIssues for @typespec/compilerIssues for @typespec/compilertriaged:core