Skip to content

v1#1484

Open
TwitchBronBron wants to merge 520 commits intomasterfrom
v1
Open

v1#1484
TwitchBronBron wants to merge 520 commits intomasterfrom
v1

Conversation

@TwitchBronBron
Copy link
Member

This is the official branch for the v1.0.0 release, tracking milesone v1.0.0.

TwitchBronBron and others added 30 commits October 3, 2024 12:46
* Fix bug in bslib prefix transpiling

* Fix lint issues.
* Fixes using upper namespaced function indirectly

* Added test to verify validating correct function

* Clarifies namespace docs
* Adds diagnostic if no return statement found in function

* Added edge cases to tests, and improved returnTypeMismatch check for void rerturns
* Does not validate unknown members of a component in BrightScript mode

* Fixed lint errors
* Scraped docs and fixed Vector2DFieldInterpolator keyValue type

* fixes when the roku docs say  instead of

* Update scripts/scrape-roku-docs.ts

handle whitespace fixes in scraped docs as well

Co-authored-by: Bronley Plumb <bronley@gmail.com>

* remove duplicated field fix

* Is a little more forgiving in getting the return type from the roku docs

---------

Co-authored-by: Bronley Plumb <bronley@gmail.com>
…1241)

* Took a stab at re-writing the docs

* Added human readable names to diagnostics

* Added file.destPath diagnostics filtering

* hopefully fixed test

* Is this change needed too?

* Changed BsDiagnostic so code is the human-readable version, legacyCode is the old code

* Fixed some issues

* Fix misspelling

* Update docs/bsconfig.md

Co-authored-by: Bronley Plumb <bronley@gmail.com>

* Update docs/bsconfig.md

Co-authored-by: Bronley Plumb <bronley@gmail.com>

* Updated docs to use new codes instead of legacy codes for diagnotsics

* Update src/DiagnosticMessages.ts

Co-authored-by: Bronley Plumb <bronley@gmail.com>

* Update src/DiagnosticMessages.ts

Co-authored-by: Bronley Plumb <bronley@gmail.com>

* Update src/DiagnosticMessages.ts

Co-authored-by: Bronley Plumb <bronley@gmail.com>

* Changes from comments on PR

* Update src/DiagnosticMessages.ts

Co-authored-by: Bronley Plumb <bronley@gmail.com>

* Combined diagnostics to make new expectedOperator diagnostic

* Update src/DiagnosticMessages.ts

Co-authored-by: Bronley Plumb <bronley@gmail.com>

* Update src/DiagnosticMessages.ts

Co-authored-by: Bronley Plumb <bronley@gmail.com>

* Combined expectedTerminator diags - Ill Be Back

* Consolidated expected statement diagnostics

* Removed xml prefix on xml diagnostics

* Update src/DiagnosticMessages.ts

Co-authored-by: Bronley Plumb <bronley@gmail.com>

* Update src/DiagnosticMessages.ts

Co-authored-by: Bronley Plumb <bronley@gmail.com>

* Update src/DiagnosticMessages.ts

Co-authored-by: Bronley Plumb <bronley@gmail.com>

* use one expected-identifier diaganostic code

* A few more changes

* Update src/DiagnosticMessages.ts

Co-authored-by: Bronley Plumb <bronley@gmail.com>

* Update src/DiagnosticMessages.ts

Co-authored-by: Bronley Plumb <bronley@gmail.com>

* A few more changes

* Rename many diagnostic codes

* Some small code tweaks

* Updated the expectedEndForOrNextToTerminateForLoop diagnostic

* Refactored memberAccessibilityMismatch diagnostic

* Reverted data.json change

* Combine `expectedIdentifierAfterKeyword` and `expectedIdentifier`

* Merge several `expected*AfterCallable` diagnostics into `expecteToken` or `expectedIdentifier`

* Rename functionNameCannotEndWithTypeDesignator to invalidIdentifier and update diagnostics for invalid characters in function names

* Rename mismatchedEndCallableKeyword to closingKeywordMismatch and update related diagnostic messages

* More diagnostics refactoring (unterminatedString, class inheritance, etc)

* Eliminate more diagnostic codes (such as localVarSameNameAsClass and expectedOpenParenToFollowCallfuncIdentifier)

* Refactor hash* diagnostics

---------

Co-authored-by: Bronley Plumb <bronley@gmail.com>
)

* Changes expectedReturnStatement to allow coercable types

* fixed lint error

---------

Co-authored-by: Bronley Plumb <bronley@gmail.com>
* Eliminates unnecessary import and fractional hex diagnostics

* Adds tests for fractional hex in different contexts

---------

Co-authored-by: Bronley Plumb <bronley@gmail.com>
* Fixes default type for ArrayLIteral with enum member inner types

* Adds a new ReferenceType for Default/initial values
…1296)

* Refactored PrintStatment to only use expressions

* Introduce new `PrintSeparatorExpression`

* Fix some formatting

* More specific token type

* Just cleaning up some merge issues

---------

Co-authored-by: Bronley Plumb <bronley@gmail.com>
* Augments handling of void returns

* Removed commented out code

* Built-in functions that are as void will return UninitializedType
* Makes assignments of invalid act be typed as dynamic

* Makes assignments of invalid act be typed as dynamic
markwpearce and others added 30 commits December 12, 2025 22:06
Co-authored-by: Bronley Plumb <bronley@gmail.com>
Co-authored-by: rokucommunity-bot <93661887+rokucommunity-bot@users.noreply.github.com>
Co-authored-by: Bronley Plumb <bronley@gmail.com>
…atability of optional args in a typed function type
Co-authored-by: Luis Jacobetty Soares <57358121+luis-j-soares@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

create-package create a temporary npm package on every commit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants