-
Notifications
You must be signed in to change notification settings - Fork 26
Basic USVM TS type system with type coercion #215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 10 commits
Commits
Show all changes
65 commits
Select commit
Hold shift + click to select a range
015cbc3
Upgrade kotlin version
CaelmBleidd 1248a67
Type coercion
CaelmBleidd beccd93
Some fixes
CaelmBleidd ff880f7
Tmp commit
CaelmBleidd 8bbfedc
Tmp commit
CaelmBleidd 2484658
Govno
CaelmBleidd c065b19
MultiExpr support
CaelmBleidd 21c686b
EQ operator support
CaelmBleidd 567c7f6
tmp commit
CaelmBleidd d227391
Remove multiexpr and multivalue
CaelmBleidd 0fb485f
Add caches for local sorts
CaelmBleidd 80bfa8a
Support arguments resolve
CaelmBleidd b45b6aa
Drochilnya with unresolved objects
CaelmBleidd 3248239
Draft fields support
Lipen 4e47ab5
Make tests on fields working
Lipen f672517
Continuation of drochilnya with unresolved objects
CaelmBleidd 28c9fa8
Completed test
CaelmBleidd c323bb5
Eval expr in model
Lipen b80db92
Format
Lipen ee705a5
Format
Lipen 057b865
Support any
Lipen 86f124d
Fix indent
Lipen 00cb506
Cleanup
Lipen 9a1c43b
Use fp64Sort
Lipen 8d288c1
Cleanup
Lipen 8001d7d
fix ICE
Lipen fd7bda1
Remove old comments
Lipen 8695f20
Fix check
Lipen 945323e
Add comment about ToBoolean
Lipen 0d4ad61
Cleanup
Lipen 545c334
Add EXACTLY_ONCE invokation contract for calcOnState and doWithState
Lipen 9047742
More tests for And
Lipen f85c92f
More tests
Lipen 3de12b0
Add class for expr with type guard
CaelmBleidd 9f61e97
Add type constraint in fake type creation
CaelmBleidd 39a4ee5
Add example with nan equality
CaelmBleidd a4cabdb
Remove redundant code with expr transformer
CaelmBleidd 6e214c4
Add a clarification comment
CaelmBleidd db90185
Remove multiple asserts during one scope call
CaelmBleidd 4cabbfa
Disable test
CaelmBleidd 0e406b7
Disable tests
CaelmBleidd 8b7f9b1
Bump jacodb version
CaelmBleidd cc43637
Rebase fixes
CaelmBleidd aa18660
Remove non-related changes
CaelmBleidd 56a8aef
TSTest modification
CaelmBleidd 5306128
Throw error if a value cannot be extracted
CaelmBleidd 4a26215
Prepare for review
CaelmBleidd c46970e
Notice
CaelmBleidd 0ed314d
Move truthy utils
Lipen cb7112a
Manual CFG construction
Lipen e128e8a
Add contract for isFakeObject
Lipen 7483148
Wrap non-bool-sort-expr inside IfStmt in mkTruthy
Lipen d08d178
Fix manual cfg in test
Lipen 68e79d0
Rename boolToFp
Lipen ec653a5
Format
Lipen 6a6d6a1
Improve tests for And with numbers
Lipen 5f9515f
Improve numberAndNumber test
Lipen 7e1d259
Format
Lipen f05c609
Extract truthyExpr constructor into util class
CaelmBleidd 0758c05
Uncomment TSUnaryOperator.Not instruction
CaelmBleidd 3d42af2
Extract a field lookup
CaelmBleidd c2edcc3
Added a comment about arguments sorts in calls
CaelmBleidd 654ac33
Fix mistake with control flow in resolveFakeObject operator
CaelmBleidd 47d72a9
Extract operation with scope from TSContext
CaelmBleidd e3bb791
Replace mutable maps with UPersistentHashMaps
CaelmBleidd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.