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

Revision 0.34.11 #1110

Merged
merged 6 commits into from
Dec 5, 2024
Merged

Revision 0.34.11 #1110

merged 6 commits into from
Dec 5, 2024

Conversation

sinclairzx81
Copy link
Owner

This PR applies a compiler fix for deeply referential module types. The following would be an example of this.

// E -> D -> C -> B -> A
it('Should validate deep referential 2', () => {
  const Module = Type.Module({
    A: Type.Literal('Foo'),
    B: Type.Ref('A'),
    C: Type.Ref('B'),
    D: Type.Ref('C'),
    E: Type.Ref('D'),
  })
  Ok(Module.Import('A'), 'Foo')
  Ok(Module.Import('B'), 'Foo')
  Ok(Module.Import('C'), 'Foo')
  Ok(Module.Import('D'), 'Foo')
  Ok(Module.Import('E'), 'Foo')
})

Related Issue: #1109

@sinclairzx81 sinclairzx81 merged commit 88a4819 into master Dec 5, 2024
18 checks passed
@sinclairzx81 sinclairzx81 deleted the fix branch December 5, 2024 05:25
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.

1 participant