Skip to content

Fixes union type issues with unknown members#1170

Merged
TwitchBronBron merged 7 commits into
release-1.0.0from
fix_union_type_issues_with_unknown_members
May 10, 2024
Merged

Fixes union type issues with unknown members#1170
TwitchBronBron merged 7 commits into
release-1.0.0from
fix_union_type_issues_with_unknown_members

Conversation

@markwpearce

@markwpearce markwpearce commented May 9, 2024

Copy link
Copy Markdown
Collaborator
  • Adds extra detail to cannotFindName diagnostic to say what it cannot find the name in
    Before:
    image

    After:
    image

  • If a union type is in a Brighterscript file, it will act like a Dynamic type

  • Removes functionExpression body symbol table, in favor of single symbol table that also includes the params. (I think this solves Missing parameter in completions #1167)
    Before:
    image

    After:
    image

@markwpearce markwpearce added this to the v1.0.0 milestone May 9, 2024
Comment thread src/parser/Expression.ts
Comment thread src/bscPlugin/validation/ScopeValidator.ts
Comment thread src/interfaces.ts Outdated
Comment thread src/interfaces.ts Outdated
markwpearce and others added 3 commits May 9, 2024 18:52
@TwitchBronBron
TwitchBronBron merged commit 6878b50 into release-1.0.0 May 10, 2024
@TwitchBronBron
TwitchBronBron deleted the fix_union_type_issues_with_unknown_members branch May 10, 2024 12:15
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.

2 participants