Skip to content

Commit cdb8672

Browse files
committed
Change example
1 parent 6753bfc commit cdb8672

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/concepts.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ In this Example widget, buildable und button reference the same object:
3939
Widget widget = new Button();
4040

4141
Buildable buildable = widget.asBuildable();
42-
int id = buildable.getBuildableId() // access interface API
42+
Str id = buildable.getBuildableId() // access interface API
4343

4444
// cast back to button
4545
Button button = new Button(buildable.cast());
46-
button.setLabel("ID: " + id);
46+
button.setLabel("ID: " + id.toString());
4747
```

0 commit comments

Comments
 (0)