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

Unable to substitute a link to itself + outgoing link #20

Open
Konard opened this issue Feb 8, 2025 · 0 comments
Open

Unable to substitute a link to itself + outgoing link #20

Konard opened this issue Feb 8, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@Konard
Copy link
Member

Konard commented Feb 8, 2025

Image
konard@MacBook-Pro-Konstantin ~ % clink '() ((21: 21 21))' 
(21: 0 0) ↦ (21: 21 21)
(1: 1 1)
(18: 1 21)
(19: 1 20)
(20: 20 20)
(21: 21 21)
konard@MacBook-Pro-Konstantin ~ % clink '((($i: 1 21)) (($i: $s $t) ($i 20)))'
konard@MacBook-Pro-Konstantin ~ % clink '((($i: 1 21)) (($i: $s $t) ($i 20)))'
Unhandled exception: System.OutOfMemoryException: Array dimensions exceeded supported range.
   at System.Collections.Generic.List`1.set_Capacity(Int32 value)
   at System.Collections.Generic.List`1.Grow(Int32 capacity)
   at System.Collections.Generic.List`1.AddWithResize(T item)
   at Foundation.Data.Doublets.Cli.LinksExtensions.EnsureCreated[TLinkAddress](ILinks`1 links, Func`1 creator, TLinkAddress[] addresses) in /home/runner/work/link-cli/link-cli/Foundation.Data.Doublets.Cli/LinksExtensions.cs:line 26
   at Foundation.Data.Doublets.Cli.LinksExtensions.EnsureCreated[TLinkAddress](ILinks`1 links, TLinkAddress[] addresses) in /home/runner/work/link-cli/link-cli/Foundation.Data.Doublets.Cli/LinksExtensions.cs:line 10
   at Foundation.Data.Doublets.Cli.AdvancedMixedQueryProcessor.CreateOrUpdateLink(ILinks`1 links, Link`1 link, Options options) in /home/runner/work/link-cli/link-cli/Foundation.Data.Doublets.Cli/AdvancedMixedQueryProcessor.cs:line 669
   at Foundation.Data.Doublets.Cli.AdvancedMixedQueryProcessor.ApplyAllPlannedOperations(ILinks`1 links, List`1 operations, Options options) in /home/runner/work/link-cli/link-cli/Foundation.Data.Doublets.Cli/AdvancedMixedQueryProcessor.cs:line 339
   at Foundation.Data.Doublets.Cli.AdvancedMixedQueryProcessor.ProcessQuery(ILinks`1 links, Options options) in /home/runner/work/link-cli/link-cli/Foundation.Data.Doublets.Cli/AdvancedMixedQueryProcessor.cs:line 173
   at Program.<>c.<<Main>$>b__0_1(String db, String queryOptionValue, String queryArgumentValue) in /home/runner/work/link-cli/link-cli/Foundation.Data.Doublets.Cli/Program.cs:line 68
   at System.CommandLine.Handler.<>c__DisplayClass4_0`3.<SetHandler>b__0(InvocationContext context)
   at System.CommandLine.Invocation.AnonymousCommandHandler.Invoke(InvocationContext context)
   at System.CommandLine.Invocation.AnonymousCommandHandler.InvokeAsync(InvocationContext context)
   at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass17_0.<<UseParseErrorReporting>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseHelp>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<<UseVersionOption>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass19_0.<<UseTypoCorrections>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__18_0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseParseDirective>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__5_0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<<UseExceptionHandler>b__0>d.MoveNext()
@Konard Konard added the bug Something isn't working label Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant