This is an archive of the discontinued Mercurial Phabricator instance.

another way of implementing the parent
AbandonedPublic

Authored by valentin.gatienbaron on Aug 28 2019, 7:37 AM.

Details

Reviewers
None
Group Reviewers
hg-reviewers
Summary

I would drop this or fold it into the parent depending on reviewers' opinion.

The problem is that byte literals can converted to slices implicitely,
and concat can work on slices and other things, and it's too much for
the typer to try to do both at the time. Providing a monomorphic version
of the concat method avoids having to write &byteliteral[..].

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped