Open
Conversation
* 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
…hterscript into release-1.0.0
* 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>
* 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
…ParamExpressions have statement index -1
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>
…ing typed functions
…atability of optional args in a typed function type
Co-authored-by: Luis Jacobetty Soares <57358121+luis-j-soares@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is the official branch for the v1.0.0 release, tracking milesone v1.0.0.