While it's possible to have rescue's without begin in method definitions it's not possible to have the same facility inside blocks. For example, this is currently not possible:
1.times do
abc
rescue
p 'error'
end
But this is possible
def a
abc
rescue
p 'error'
end
Would it be possible to also allow rescue without begin inside blocks too?
I guess those duplicated issues synchronizes their status each other so I don't close them (am I correct?).
I guess it depends on how you linked them. If it's just 'related', then
the status of each is independent. If it's 'depends on', then you can
close one without closing the other, but not the other way round. But
I'm not sure this is enforced.
"duplicates - Links issues so that closing one, will close the other (e.g. closing A will close B)
For example, if issue B duplicates A:
closing B will leave A open
closing A will automatically close B
duplicated by - Reciprocal of duplicates.
For example, if issue A is duplicated by issue B:
closing B will leave A open
closing A will automatically close B"
I'm not sure I completely understand this but it seems to be possible to close the duplicates without closing the original even though they would be automatically closed if using the right relation :)
I'm not sure I completely understand this but it seems to be possible to close the duplicates without closing the original even though they would be automatically closed if using the right relation :)
Well, I guess closing the duplicate is done because it's recognized as a
duplicate and no longer needed. Closing the original means that the
problem itself is solved, so it would be wrong to keep the duplicates open.