Skip to content

fix: resolve built-in types when extending classes#267

Open
aminya wants to merge 1 commit intosashi0034:mainfrom
aminya:extend-builtins
Open

fix: resolve built-in types when extending classes#267
aminya wants to merge 1 commit intosashi0034:mainfrom
aminya:extend-builtins

Conversation

@aminya
Copy link
Contributor

@aminya aminya commented Dec 29, 2025

When extending built-in types in a class, previously the LSP could not resolve the types correctly. This PR fixes the issue so the following works:

class string {
    string opAdd(string character) const;
}

Fixes #264

When extending built-in types in a class, previously the LSP could not resolve the types correctly. This PR fixes the issue so the following works:

```
class string {
    string opAdd(char character) const;
}
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"string" is not defined - Angelscript Analyzer

1 participant