Jira (PUP-6251) Impossible to easily check for empty arrays
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-6251 Impossible to easily check for empty arrays Change By: Henrik Lindberg Fix Version/s: PUP 4.5.0 Fix Version/s: PUP 4.4.3 Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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 puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6251) Impossible to easily check for empty arrays
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-6251 Impossible to easily check for empty arrays Change By: Henrik Lindberg Priority: Normal Major Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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 puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6251) Impossible to easily check for empty arrays
Title: Message Title Kenn Hussey updated an issue Puppet / PUP-6251 Impossible to easily check for empty arrays Change By: Kenn Hussey Scrum Team: Language Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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 puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6251) Impossible to easily check for empty arrays
Title: Message Title Henrik Lindberg commented on PUP-6251 Re: Impossible to easily check for empty arrays Oh - this is bad - how did that happen?!? henrik$ puppet apply -e 'notice [] =~ Array[0,0]' Error: Evaluation Error: Array-Type[] arguments must be types. Got Fixnum at line 1:20 henrik$ puppet apply -e 'notice [] =~ Array[Integer, 0,0]' Error: Evaluation Error: Error while evaluating a '[]' _expression_, An empty collection may not specify an element type at line 1:14 Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9)
Jira (PUP-6251) Impossible to easily check for empty arrays
Title: Message Title Julien Pivotto commented on PUP-6251 Re: Impossible to easily check for empty arrays Henrik Lindberg I mean that trying Array[0,0] like in the release notes does not work Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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 puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6251) Impossible to easily check for empty arrays
Title: Message Title Henrik Lindberg commented on PUP-6251 Re: Impossible to easily check for empty arrays Julien Pivotto do you mean the problem that it ended up using the first 0 to mean an Array of Integer type. I believe that has been addressed already. Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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 puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6251) Impossible to easily check for empty arrays
Title: Message Title Julien Pivotto commented on PUP-6251 Re: Impossible to easily check for empty arrays We also need to make Array[0,0] work Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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 puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6251) Impossible to easily check for empty arrays
Title: Message Title Thomas Hallgren commented on PUP-6251 Re: Impossible to easily check for empty arrays Yes. Erasing the type sounds like the best option. That way, Array[String,0,0] == Array[0,0] Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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 puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6251) Impossible to easily check for empty arrays
Title: Message Title Henrik Lindberg commented on PUP-6251 Re: Impossible to easily check for empty arrays Ping Thomas Hallgren Change it so that type is ignored/erased when min/max are both 0 ? Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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 puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6251) Impossible to easily check for empty arrays
Title: Message Title Julien Pivotto updated an issue Puppet / PUP-6251 Impossible to easily check for empty arrays Change By: Julien Pivotto Since 4.4.2 it is impossible to do the following:{code:puppet}if $nodes =~ Array[Data,0,0]{code}I get the following error:{quote}Error while evaluating a '[]' _expression_, An empty collection may not specify an element type{quote}h2. Non technical problems# I would not expect such a change in a _minor (.z) release_# This change does not make sense because it is a valid usecase (e.g when the upper limit is a variable) to have a type.h2. Technical problemsh3. To me, the following statements are true{code:puppet}[] =~ Array[String, 0, 0][] =~ Array[Integer, 0, 0]{code}h3. Alternative writing does not work{code}cat test.pp$test = assert_type(Array[0,0],[])puppet apply test.ppError: Evaluation Error: Array-Type[] arguments must be types. Got Fixnum at /home/roidelapluie/test.pp:1:27 on node nitrogen{code}So there is NO workaround to get the feature working again.h3. Impossible to have a variable as length{code}$test = assert_type(Array[ Integer, $min,$max],[]){code}will noly work with max > 0. Hence an extra {{if}} in the code etc etc Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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 puppet-bugs@googlegroups.com. Visit this group at
Jira (PUP-6251) Impossible to easily check for empty arrays
Title: Message Title Julien Pivotto commented on PUP-6251 Re: Impossible to easily check for empty arrays I do agree with PUP-6089 . It does not make sense to display a type for empty arrays. But the extra mile of not allowing a type is too much. Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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 puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6251) Impossible to easily check for empty arrays
Title: Message Title Julien Pivotto updated an issue Puppet / PUP-6251 Impossible to easily check for empty arrays Change By: Julien Pivotto Since 4.4.2 it is impossible to do the following:{code:puppet}if $nodes =~ Array[Data,0,0]{code}I get the following error:{quote}Error while evaluating a '[]' _expression_, An empty collection may not specify an element type{quote}h2. Problems: Non technical problems # I would not expect such a change in a _minor (.z) release_# Array[0,0] does not work# This change does not make sense. h2. Technical problemsh3. To me, the following statements are true : {code:puppet}[] =~ Array[String, 0, 0][] =~ Array[Integer, 0, 0]{code} Another bug: h3. Alternative writing does not work {code}cat test.pp$test = assert_type(Array[0,0],[])puppet apply test.ppError: Evaluation Error: Array-Type[] arguments must be types. Got Fixnum at /home/roidelapluie/test.pp:1:27 on node nitrogen{code}So there is NO workaround to get the feature working again. h3. Impossible to have a variable as length{code}$test = assert_type(Array[$min,$max],[]){code}will noly work with max > 0. Hence an extra {{if}} in the code etc etc Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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 puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For
Jira (PUP-6251) Impossible to easily check for empty arrays
Title: Message Title Julien Pivotto updated an issue Puppet / PUP-6251 Impossible to easily check for empty arrays Change By: Julien Pivotto Since 4.4.2 it is impossible to do the following:{code:puppet}if $nodes =~ Array[Data,0,0]{code}I get the following error:{quote}Error while evaluating a '[]' _expression_, An empty collection may not specify an element type{quote}h2. Non technical problems# I would not expect such a change in a _minor (.z) release_# This change does not make sense because it is a valid usecase (e . g when the upper limit is a variable) to have a type. h2. Technical problemsh3. To me, the following statements are true{code:puppet}[] =~ Array[String, 0, 0][] =~ Array[Integer, 0, 0]{code}h3. Alternative writing does not work{code}cat test.pp$test = assert_type(Array[0,0],[])puppet apply test.ppError: Evaluation Error: Array-Type[] arguments must be types. Got Fixnum at /home/roidelapluie/test.pp:1:27 on node nitrogen{code}So there is NO workaround to get the feature working again.h3. Impossible to have a variable as length{code}$test = assert_type(Array[$min,$max],[]){code}will noly work with max > 0. Hence an extra {{if}} in the code etc etc Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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 puppet-bugs@googlegroups.com. Visit this group at
Jira (PUP-6251) Impossible to easily check for empty arrays
Title: Message Title Julien Pivotto updated an issue Puppet / PUP-6251 Impossible to easily check for empty arrays Change By: Julien Pivotto Since 4.4.2 it is impossible to do the following:{code:puppet}if $nodes =~ Array[Data,0,0]{code}I get the following error:{quote}Error while evaluating a '[]' _expression_, An empty collection may not specify an element type{quote}h2. Problems:# I would not expect such a change in a _minor (.z) release_# Array[0,0] does not work# This change does not make sense.To me, the following statements are true:{code:puppet}[] =~ Array[String, 0, 0][] =~ Array[Integer, 0, 0]{code}Another bug:{code}cat test.pp$test = assert_type(Array[0,0],[])puppet apply test.ppError: Evaluation Error: Array-Type[] arguments must be types. Got Fixnum at /home/roidelapluie/test.pp:1:27 on node nitrogen .low.cert.mil.be {code}So there is NO workaround to get the feature working again. Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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 puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6251) Impossible to easily check for empty arrays
Title: Message Title Julien Pivotto updated an issue Puppet / PUP-6251 Impossible to easily check for empty arrays Change By: Julien Pivotto Since 4.4.2 it is impossible to do the following:{code:puppet}if $nodes =~ Array[Data,0,0]{code}I get the following error:{quote}Error while evaluating a '[]' _expression_, An empty collection may not specify an element type{quote} 2 things here h2. Problems :# I would not expect such a change in a _minor (.z) release_# Array[0,0] does not work# This change does not make sense.To me, the following statements are true:{code:puppet}[] =~ Array[String, 0, 0][] =~ Array[Integer, 0, 0]{code} Another bug:{code}cat test.pp$test = assert_type(Array[0,0],[])puppet apply test.ppError: Evaluation Error: Array-Type[] arguments must be types. Got Fixnum at /home/roidelapluie/test.pp:1:27 on node nitrogen.low.cert.mil.be{code}So there is NO workaround to get the feature working again. Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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 puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6251) Impossible to easily check for empty arrays
Title: Message Title Julien Pivotto updated an issue Puppet / PUP-6251 Impossible to easily check for empty arrays Change By: Julien Pivotto Since 4.4.2 it is impossible to do the following:{code:puppet}if $nodes =~ Array[Data,0,0]{code}I get the following error:{quote}Error while evaluating a '[]' _expression_, An empty collection may not specify an element type{quote}2 things here:# I would not expect such a change in a _minor (.z) release_# This change does not make sense.To me, the following statements are true:{code:puppet}[] =~ Array[String , 0, 0 ][] =~ Array[Integer , 0, 0 ]{code} With that change, it implies that {{Array[String]}} should always be {{Array[String,1]}}. It sounds not great. {{Array[String,1]}} should be enforced by style guides, not like this. Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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 puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6251) Impossible to easily check for empty arrays
Title: Message Title Julien Pivotto updated an issue Puppet / PUP-6251 Impossible to easily check for empty arrays Change By: Julien Pivotto Since 4.4.2 it is impossible to do the following:{code:puppet}if $nodes =~ Array[Data,0,0]{code}I get the following error:{quote}Error while evaluating a '[]' _expression_, An empty collection may not specify an element type{quote}2 things here:# I would not expect such a change in a _minor (.z) release_# This change does not make sense.To me , the following statements are true :{code:puppet}[] =~ Array[String][] =~ Array[Integer]{code}With that change, it implies that {{Array[String]}} should always be {{Array[String,1]}}. It sounds not great. {{Array[String,1]}} should be enforced by style guides, not like this. Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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 puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6251) Impossible to easily check for empty arrays
Title: Message Title Julien Pivotto updated an issue Puppet / PUP-6251 Impossible to easily check for empty arrays Change By: Julien Pivotto Since 4.4.2 it is impossible to do the following:{code:puppet}if $nodes =~ Array[Data,0,0]{code}I get the following error:{quote}Error while evaluating a '[]' _expression_, An empty collection may not specify an element type{quote}2 things here: 1. # I would not expect such a change in a _minor (.z) release_ 2. # This change does not make sense.To me:{code:puppet}[] =~ Array[String][] =~ Array[Integer]{code}With that change, it implies that {{Array[String]}} should always be {{Array[String,1]}}. It sounds not great. {{Array[String,1]}} should be enforced by style guides, not like this. Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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 puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6251) Impossible to easily check for empty arrays
Title: Message Title Julien Pivotto updated an issue Puppet / PUP-6251 Impossible to easily check for empty arrays Change By: Julien Pivotto Since 4.4.2 it is impossible to do the followinq following :{code:puppet}if $nodes =~ Array[Data,0,0]{code}I get the following error:{quote}Error while evaluating a '[]' _expression_, An empty collection may not specify an element type{quote}2 things here:1. I would not expect such a change in a minor _minor (.z) release release_ 2. This change does not make sense.To me:{code:puppet}[] =~ Array[String][] =~ Array[Integer]{code}With that change, it implies that {{Array[String]}} should always be {{Array[String,1]}}. It sounds not great. {{Array[String,1]}} should be enforced by style guides, not like this. Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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 puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6251) Impossible to easily check for empty arrays
Title: Message Title Julien Pivotto updated an issue Puppet / PUP-6251 Impossible to easily check for empty arrays Change By: Julien Pivotto Since 4.4.2 it is impossible to do the followinq:{code:puppet}if $nodes =~ Array[Data,0,0]{code}I get the following error: {quote} Error while evaluating a '[]' _expression_, An empty collection may not specify an element type {quote} 2 things here:1. I would not expect such a change in a minor (.z) release2. This change does not make sense.To me:{code:puppet}[] =~ Array[String][] =~ Array[Integer]{code}With that change, it implies that {{Array[String]}} should always be {{Array[String,1]}}. It sounds not great. {{Array[String,1]}} should be enforced by style guides, not like this. Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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 puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6251) Impossible to easily check for empty arrays
Title: Message Title Julien Pivotto updated an issue Puppet / PUP-6251 Impossible to easily check for empty arrays Change By: Julien Pivotto Since 4.4.2 it is impossible to do the followinq:{code:puppet}if $nodes =~ Array[Data,0,0]{code}I get the following error:Error while evaluating a '[]' _expression_, An empty collection may not specify an element type2 things here:1. I would not expect such a change in a minor (.z) release2. This change does not make sense.To me:{code:puppet}[] =~ Array[String][] =~ Array[Integer]{code}With that change, it implies that ` {{ Array[String] ` }} should always be ` {{ Array[String,1] ` }} . It sounds not great. ` {{ Array[String,1] ` }} should be enforced by style guides, not like this. Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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 puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6251) Impossible to easily check for empty arrays
Title: Message Title Julien Pivotto updated an issue Puppet / PUP-6251 Impossible to easily check for empty arrays Change By: Julien Pivotto Since 4.4.2 it is impossible to do the followinq: ``` {code: puppet } if $nodes =~ Array[Data,0,0] ``` {code} I get the following error:Error while evaluating a '[]' _expression_, An empty collection may not specify an element type2 things here:1. I would not expect such a change in a minor (.z) release2. This change does not make sense.To me: ``` {code: puppet } [] =~ Array[String][] =~ Array[Integer] ``` {code} With that change, it implies that `Array[String]` should always be `Array[String,1]`. It sounds not great. `Array[String,1]` should be enforced by style guides, not like this. Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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 puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6251) Impossible to easily check for empty arrays
Title: Message Title Julien Pivotto updated an issue Puppet / PUP-6251 Impossible to easily check for empty arrays Change By: Julien Pivotto Since 4.4.2 it is impossible to do the followinq: ```puppet if $nodes =~ Array[Data,0,0] ``` I get the following error:Error while evaluating a '[]' _expression_, An empty collection may not specify an element type2 things here:1. I would not expect such a change in a minor (.z) release2. This change does not make sense.To me: ```puppet [] =~ Array[String][] =~ Array[Integer] ``` With that change, it implies that ` Array[String] ` should always be ` Array[String,1] ` . It sounds not great. `Array[String,1]` should be enforced by style guides, not like this. Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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 puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-6251) Impossible to easily check for empty arrays
Title: Message Title Julien Pivotto created an issue Puppet / PUP-6251 Impossible to easily check for empty arrays Issue Type: Bug Affects Versions: PUP 4.4.2 Assignee: Unassigned Components: Language Created: 2016/05/02 4:44 AM Priority: Normal Reporter: Julien Pivotto Since 4.4.2 it is impossible to do the followinq: if $nodes =~ Array[Data,0,0] I get the following error: Error while evaluating a '[]' _expression_, An empty collection may not specify an element type 2 things here: 1. I would not expect such a change in a minor (.z) release 2. This change does not make sense. To me: [] =~ Array[String] [] =~ Array[Integer] With that change, it implies that Array[String] should always be Array[String,1]. It sounds not great.