Skip to content

Commit

Permalink
Merge pull request ballerina-platform#5192 from lochana-chathura/fix-…
Browse files Browse the repository at this point in the history
…bbe-comment

[Master] Fix open records BBE comment
  • Loading branch information
lochana-chathura authored Feb 13, 2024
2 parents dc68a98 + 98a917c commit d1345f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/open-records/open_records.bal
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ public function main() {
s2["credits"] = 120.5;
io:println(s2);

// You can assign a `PartTimeStudent` type value to a `Student`.
// A variable of type `PartTimeStudent` can be used where a `Student` value is expected.
Student s3 = s2;
io:println(s3);

// You can assign a `Person` type value to a `map`.
// A variable of type `Student` can be used where a `map<anydata>` value is expected.
map<anydata> s4 = s3;
io:println(s4);
}

0 comments on commit d1345f4

Please sign in to comment.