Skip to content

Commit 2af1384

Browse files
committed
Fix example
1 parent 23c29c7 commit 2af1384

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/binary-api.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,10 @@ class C {
155155
private def b: Int = ...
156156
@binaryAPI protected def c: Int = ...
157157
protected def d: Int = ...
158-
final def C$inline$a: Int = ... // generated by `@binaryAPIAccessor`
159-
final def C$inline$b: Int = ... // warn: `b` should be annotated with `@binaryAPIAccessor` + migration code
160-
final def C$inline$d: Int = ... // warn: `d` should be annotated with `@binaryAPI` + migration code
161-
inline def foo: Int = C$inline$a + C$inline$b + c + C$inline$d
158+
final def C$$inline$a: Int = ... // generated by `@binaryAPIAccessor`
159+
final def C$$inline$b: Int = ... // warn: `b` should be annotated with `@binaryAPIAccessor` + migration code
160+
final def C$$inline$d: Int = ... // warn: `d` should be annotated with `@binaryAPI` + migration code
161+
inline def foo: Int = C$$inline$a + C$$inline$b + c + C$$inline$d
162162
}
163163
~~~
164164

0 commit comments

Comments
 (0)