Autodesk / Autodesk/AutomaticComponentToolkit
Handle reserved function names in binding and implementation languages
- Dominant language
- Go
- Stars
- 53
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
Different languages define specific methods on classes per default, e.g. C# defines ToString, GetType and GetHashCode.
When components define methods with these names in one of their classes, this can lead to problems.
Solution:
in the binding (or implementation section) of the component, define overrides for these resreved names or keywords
e.g.
```xml
```
This would basically replace each occurrence of "GetType" in the C#-binding by "GetObjectType".
Contributor guide
Research direction
Start by locating the code that processes component binding and implementation sections and generates language-specific names. Review how C# methods such as GetType are currently emitted, then determine how the proposed reserved-name replacement would be represented and applied. Done means a binding can declare a replacement and generated C# occurrences use the replacement without altering other languages.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, go
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100