Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
explicitly make the signature empty, seems to solve precomp issue, bu…
…t this probably should be filed as a rakudo bug
  • Loading branch information
cjfields committed Dec 20, 2015
1 parent 30e3fae commit 5892ac1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/Bio/PrimarySeq.pm6
Expand Up @@ -4,4 +4,4 @@ use Bio::Role::Describable;
use Bio::Role::Identifiable;
use Bio::Role::PrimarySeq;

class Bio::PrimarySeq does Bio::Role::Describable does Bio::Role::Identifiable does Bio::Role::PrimarySeq { }
class Bio::PrimarySeq does Bio::Role::Describable does Bio::Role::Identifiable does Bio::Role::PrimarySeq { }
4 changes: 2 additions & 2 deletions lib/Bio/Role/Identifiable.pm6
Expand Up @@ -26,13 +26,13 @@ role Bio::Role::Identifiable {
}

# these latter two methods may be obsoleted
method lsid_string returns Str {
method lsid_string() returns Str {
return join(':', ~self.authority,
~self.namespace,
~self.accession || ~self.id || '');
}

method namespace_string returns Str {
method namespace_string() returns Str {
return join(':', ~self.namespace,
(~self.accession || ~self.id || '') ~ (~(defined(self.version()) ?? "." ~ self.version !! '')));
}
Expand Down

0 comments on commit 5892ac1

Please sign in to comment.