-
Notifications
You must be signed in to change notification settings - Fork 70
Generics take2 #1294
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
Open
LadyCailin
wants to merge
101
commits into
master
Choose a base branch
from
genericsTake2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Generics take2 #1294
Changes from 6 commits
Commits
Show all changes
101 commits
Select commit
Hold shift + click to select a range
ce133b9
Initial commit of generics
LadyCailin 368e90e
Merge branch 'master' into generics
LadyCailin 5c4344d
Still working on changes to add environment in places
LadyCailin 64fb221
Finish refactoring process
LadyCailin d521be5
Compiles again
LadyCailin d431fc2
Move instanceof logic to InstanceofUtil + Fix SA instanceof reference…
Pieter12345 32d16fc
Merge branch 'master' into genericsTake2
PseudoKnight b0d46a0
Merge branch 'master' into genericsTake2
PseudoKnight bcaf404
Additional changes. Mostly code complete, though not working.
LadyCailin edc959c
Merge remote-tracking branch 'origin/master' into genericsTake2
LadyCailin b737796
Merge branch 'master' into genericsTake2
LadyCailin 958a03b
Merge remote-tracking branch 'origin/master' into genericsTake2
LadyCailin e3825c1
Finish generic constraint validation
LadyCailin ee55d6a
typeof needs Environment
LadyCailin 239a132
Fix provisonal-build and 2 unit tests
LadyCailin 592ab47
Add LeftHandSideType, and rework generics to fix all unit tests.
LadyCailin 921a0c8
Fix tests
LadyCailin 0465349
Merge branch 'master' into genericsTake2
LadyCailin 6121779
Fix player_command bind
LadyCailin 036b753
Use a static cache for native classes
LadyCailin ba7ebd5
Add back in more deprecated methods
LadyCailin 668e37e
Add @AggressiveDeprecation annotation
LadyCailin ab14f00
Readd all no-env methods with AggressiveDeprecation
LadyCailin 5d5ba81
Fix javadoc
LadyCailin 809a724
Merge remote-tracking branch 'origin/master' into genericsTake2
LadyCailin 8ca78e4
Merge remote-tracking branch 'origin/master' into genericsTake2
LadyCailin 89aba77
Change return type and parameter of merged code
LadyCailin 7a09ff0
Update syntax in NewObjects
LadyCailin 23cd8f5
Fix null assignments
LadyCailin c68d103
Apply changes based on PR comments
LadyCailin b70b209
Merge remote-tracking branch 'origin/master' into genericsTake2
LadyCailin b9aae16
Bugfixes
LadyCailin 265949e
Fix and() function signature
Pieter12345 32f2d4a
Cache ClassMirror's JVM name
LadyCailin f861f77
Merge branch 'genericsTake2' of github.com:EngineHub/CommandHelper in…
LadyCailin 24117ca
Merge remote-tracking branch 'origin/master' into genericsTake2
LadyCailin 26151e4
Merge remote-tracking branch 'origin/master' into genericsTake2
LadyCailin cde5f4c
Pass GenericParameters in to functions.
LadyCailin 0a6bd55
Also convert leftover test method
LadyCailin f40c67d
Provide runtime backwards compatible Event for extensions
LadyCailin 2510cf2
CS
LadyCailin 5b645c1
Merge branch 'master' into genericsTake2
LadyCailin 8438464
Add back old CArray constructors as aggressively deprecated
LadyCailin 9aab1c1
Merge remote-tracking branch 'origin/master' into genericsTake2
LadyCailin 4327ee0
Rework how generics are stored in Construct
LadyCailin aa5bc2c
Support GenericDeclaration in function signatures
LadyCailin 6ba3f82
Merge remote-tracking branch 'origin/master' into genericsTake2
LadyCailin 6dc811d
Remove erroneous code
LadyCailin ee4379c
Better error message
LadyCailin 5bc8cc0
Resolve typename before returning up further.
LadyCailin ab74ad2
Unbundle and rethrow CREs in exec when using reflection
LadyCailin 205e3b3
Add more AggressiveDeprecations.
LadyCailin ef358b7
Merge branch 'master' into genericsTake2
LadyCailin f18e0f8
Add aggressivedeprecation on IncludeCache.registerAutoIncludes
LadyCailin 37d1ed4
Merge remote-tracking branch 'origin/master' into genericsTake2
LadyCailin c8221fa
Add deprecated versions of set back to CArray
LadyCailin f0faa0b
Oops
LadyCailin 5516d5e
Remove registerAutoIncludes
LadyCailin 722495f
Add a log output if the aggressive deprecation meets criteria for rem…
LadyCailin e42666e
cleanup
LadyCailin 8ad1434
Allow "teeing up" of aggressive deprecations.
LadyCailin 85ed2f4
Support type inference for generic typenames
LadyCailin 9900ee1
CS
LadyCailin 0e3667f
Add cast().
LadyCailin 082cd9b
CS
LadyCailin 28a037a
Speculative fix for reported issue
LadyCailin f658e57
Add additional unit tests
LadyCailin f091c99
Merge remote-tracking branch 'origin/master' into genericsTake2
LadyCailin 909efe8
Missed a change
LadyCailin c6834b2
Use the correct SA object
LadyCailin 1726fd2
cs
LadyCailin 0d78170
Speculative fix and additional logging
LadyCailin 94910ec
Resolve type unions also, for when there is only one inferred type
LadyCailin 0a2b7d3
cs
LadyCailin 7a9ffe8
Fix centry typechecking
LadyCailin b0af7fd
cs
LadyCailin 8f1a8a0
Make constants their actual type in strict mode, auto otherwise.
LadyCailin 7e00c25
Merge branch 'master' into genericsTake2
LadyCailin f0f9a6c
Merge branch 'master' into genericsTake2
LadyCailin 3cd8334
dev drop
LadyCailin d376ad5
Merge branch 'master' into genericsTake2
LadyCailin 8d15bee
Create GenericTypeParameters, which are the typechecking generics
LadyCailin 3817ae9
Merge branch 'master' into genericsTake2
LadyCailin 5fc3192
URL encode spaces in ClassMirror
LadyCailin 48d21b6
Use proper URL escaping
LadyCailin 641a316
Revert "Use proper URL escaping"
LadyCailin 031e0ad
Maybe fixed now
LadyCailin 97ff952
Add asserts to track down failures
LadyCailin 957f176
Decode that shit
LadyCailin 535f9bc
Cleanup build output and clarify logs
LadyCailin 44fe145
Merge branch 'master' into genericsTake2
LadyCailin 8488d39
Merge branch 'master' into genericsTake2
LadyCailin 1131858
Add support for `as` keyword for cast.
LadyCailin 2946044
Merge remote-tracking branch 'origin/master' into genericsTake2
LadyCailin 937576b
Begin initial implementation of VariadicGenericTypes.
LadyCailin 0f91e3f
Merge branch 'master' into genericsTake2
LadyCailin 199b33b
Implement generics in Callables.
LadyCailin 78eb89a
Merge branch 'master' into genericsTake2
PseudoKnight f5aeffb
Merge branch 'master' into genericsTake2
PseudoKnight 1cade80
Merge remote-tracking branch 'origin/master' into genericsTake2
LadyCailin 0f3dc21
Merge branch 'master' into genericsTake2
LadyCailin 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.