Skip to content

Commit

Permalink
Fix the example mangling
Browse files Browse the repository at this point in the history
  • Loading branch information
nailuj29 authored Dec 9, 2021
1 parent 7d5e1d5 commit af9d825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion active-rfcs/0000-name-mangling.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Defines how name mangling will work.

## Basic example

A method of the class `foo` with the signature `method(data: int) -> string` in the module `bar.baz` would be mangled to `boad2m3barm3bazc3fooi6methodp2t3i32t3i32r5string`
A method of the class `foo` with the signature `method(data: int) -> string` in the module `bar.baz` would be mangled to `boad2m3barm3bazc3fooi6methodp1t3i32r5string`
## Motivation

Most languages "mangle" names of symbols, in order to allow for things like namespacing, overloading, and class/struct methods. This RFC defines how Boa can mangle names
Expand Down

0 comments on commit af9d825

Please sign in to comment.