-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: crystal-lang/crystal
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 204c94c39702
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: crystal-lang/crystal
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 917971dedc08
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 3 commits
- 8 files changed
- 2 contributors
Commits on Mar 23, 2017
-
Fix self restriction with including generic module
Ref: #3847 Now, we can get a compile error with such a code: module Foo(T) def foo(x : T) x end end abstract struct Bar include Foo(self) end struct Baz1 < Bar end struct Baz2 < Bar end Baz1.new.foo Baz2.new # => no overload matches 'Baz1#foo' with type Baz2 This commit adds `lazy_self` parameter to `lookup_type`. When `lazy_self` is `true`, `lookup_type` keeps `self` in generics type. It is used to look up type for `include` and `extend`.
Configuration menu - View commit details
-
Copy full SHA for 6645b8f - Browse repository at this point
Copy the full SHA 6645b8fView commit details -
Add TODO for fixing self restriction
Because old compiler wants this definition and CI uses old compiler...
Configuration menu - View commit details
-
Copy full SHA for 8ace6d4 - Browse repository at this point
Copy the full SHA 8ace6d4View commit details -
Merge pull request #3972 from MakeNowJust/fix/crystal/self-restriction
Fix self restriction with including generic module
Configuration menu - View commit details
-
Copy full SHA for 917971d - Browse repository at this point
Copy the full SHA 917971dView commit details
There are no files selected for viewing