Jira (PUP-8709) Iterable[T] with recursive type T results in endless recursion
Title: Message Title Josh Cooper updated an issue Puppet / PUP-8709 Iterable[T] with recursive type T results in endless recursion Change By: Josh Cooper Labels: Language final_triage typesystem Add Comment This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.250113.1525957195000.21589.1645559280145%40Atlassian.JIRA.
Jira (PUP-8709) Iterable[T] with recursive type T results in endless recursion
Title: Message Title Josh Cooper updated an issue Puppet / PUP-8709 Iterable[T] with recursive type T results in endless recursion Change By: Josh Cooper Team: Froyo Add Comment This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.250113.1525957195000.20082.1642050180055%40Atlassian.JIRA.
Jira (PUP-8709) Iterable[T] with recursive type T results in endless recursion
Title: Message Title Josh Cooper commented on PUP-8709 Re: Iterable[T] with recursive type T results in endless recursion It seems there was an earlier issue PUP-6108. The recursion guard was added to fix that, but it doesn't prevent recursion in this case (with Iterable) Add Comment This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.250113.1525957195000.20081.1642049940036%40Atlassian.JIRA.
Jira (PUP-8709) Iterable[T] with recursive type T results in endless recursion
Title: Message Title Josh Cooper commented on PUP-8709 Re: Iterable[T] with recursive type T results in endless recursion How often to users define their own data types with Iterable? I can definitely imagine: type Something = Variant[String, Numeric, Hash[Something, Something]] Endless recursion does seem bad though. It sounds like a support escalation waiting to happen. Using puppet#9b4e3473fb3fe439aef1c6875d7520c5a2d74058 the stack trace is: ...continues upward... /home/josh/work/puppet/lib/puppet/pops/types/types.rb:3380:in `block in assignable?' # starts repeating /home/josh/work/puppet/lib/puppet/pops/types/recursion_guard.rb:54:in `with_this' /home/josh/work/puppet/lib/puppet/pops/types/types.rb:3380:in `assignable?' /home/josh/work/puppet/lib/puppet/pops/types/types.rb:1448:in `_assignable?' /home/josh/work/puppet/lib/puppet/pops/types/types.rb:146:in `assignable?' /home/josh/work/puppet/lib/puppet/pops/types/types.rb:3030:in `block in _assignable?' /home/josh/work/puppet/lib/puppet/pops/types/types.rb:3030:in `any?'
Jira (PUP-8709) Iterable[T] with recursive type T results in endless recursion
Title: Message Title David McTavish updated an issue Puppet / PUP-8709 Iterable[T] with recursive type T results in endless recursion Change By: David McTavish Labels: Language final_triage typesystem Add Comment This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.250113.1525957195000.19950.1642035420180%40Atlassian.JIRA.
Jira (PUP-8709) Iterable[T] with recursive type T results in endless recursion
Title: Message Title David McTavish updated an issue Puppet / PUP-8709 Iterable[T] with recursive type T results in endless recursion Change By: David McTavish Priority: Major Normal Add Comment This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.250113.1525957195000.21310.1638821820032%40Atlassian.JIRA.
Jira (PUP-8709) Iterable[T] with recursive type T results in endless recursion
Title: Message Title Josh Cooper updated an issue Puppet / PUP-8709 Iterable[T] with recursive type T results in endless recursion Change By: Josh Cooper Fix Version/s: PUP 5.5.z Fix Version/s: PUP 6.y Add Comment This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.250113.1525957195000.63100.1603497420089%40Atlassian.JIRA.
Jira (PUP-8709) Iterable[T] with recursive type T results in endless recursion
Title: Message Title Henrik Lindberg commented on PUP-8709 Re: Iterable[T] with recursive type T results in endless recursion Also, a disptacher like this: dispatch :on_iterable do param 'Iterable[Variant[String, Numeric]]', :arg end Does not match if called with something like [1, 'hello'] Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to
Jira (PUP-8709) Iterable[T] with recursive type T results in endless recursion
Title: Message Title Henrik Lindberg created an issue Puppet / PUP-8709 Iterable[T] with recursive type T results in endless recursion Issue Type: Bug Assignee: Thomas Hallgren Components: Type System Created: 2018/05/10 5:59 AM Fix Versions: PUP 5.5.z Labels: Language typesystem Priority: Major Reporter: Henrik Lindberg The following puppet snippet results in endless recursion type StringData = Variant[String, Numeric, Iterable[StringData], Hash[StringData, StringData]] notice([1,2,3] =~ Iterable[StringData]) It should have noticed true