Commit 57f96b0
committed
Fix linker error for makeRBSString
The declaration of makeRBSString was added to rbs_common.h (in sorbet#9770)
but the only definition remained inside an anonymous namespace in
SignatureTranslator.cc, making it invisible to other translation units.
Move the definition out of the anonymous namespace and update the
parameter type from `const string &` to `const string_view` to match
the header declaration, so that SignatureTranslatorPrism.cc (and any
future callers) can link against it.1 parent 8e3953d commit 57f96b0
1 file changed
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
| 12 | + | |
15 | 13 | | |
16 | 14 | | |
17 | 15 | | |
18 | | - | |
19 | | - | |
20 | 16 | | |
21 | 17 | | |
22 | 18 | | |
| |||
0 commit comments