]> git.lizzy.rs Git - rust.git/log
rust.git
5 years agoHover for associated items in patterns
kjeremy [Wed, 6 Mar 2019 16:39:11 +0000 (11:39 -0500)]
Hover for associated items in patterns

5 years agoMerge #933
bors[bot] [Wed, 6 Mar 2019 12:21:55 +0000 (12:21 +0000)]
Merge #933

933: Check installed extension r=matklad a=c410-f3r

Fixes #918.

Edit: Windows encoding for Unicode is UTF-16 so String::from_utf8 will probably fail unless `Vec<u8>` is already UTF-8 somehow, which I don't know for sure.

Co-authored-by: Caio <c410.f3r@gmail.com>
5 years agoMerge #941
bors[bot] [Wed, 6 Mar 2019 11:53:05 +0000 (11:53 +0000)]
Merge #941

941: :arrow_up: vfs r=matklad a=matklad

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
5 years ago:arrow_up: vfs
Aleksey Kladov [Wed, 6 Mar 2019 11:52:42 +0000 (14:52 +0300)]
:arrow_up: vfs

5 years agoMerge #940
bors[bot] [Wed, 6 Mar 2019 09:56:16 +0000 (09:56 +0000)]
Merge #940

940: Show workspace loaded notification r=matklad a=vipentti

This fixes #935

This adds support for more `InitializationOptions` which are provided by the client.

Co-authored-by: Ville Penttinen <villem.penttinen@gmail.com>
5 years agoAdd showWorkspaceLoadedNotification to vscode client
Ville Penttinen [Wed, 6 Mar 2019 09:34:38 +0000 (11:34 +0200)]
Add showWorkspaceLoadedNotification to vscode client

This allows users to control whether or not they want to see the "workspace
loaded" notification.

This is done on the server side using InitializationOptions which are provided
by the client. By default show_workspace_loaded is true, meaning the
notification is sent.

5 years agoCheck installed extension
Caio [Tue, 5 Mar 2019 21:19:36 +0000 (18:19 -0300)]
Check installed extension

5 years agoRename feedback to show_message
Ville Penttinen [Tue, 5 Mar 2019 20:25:24 +0000 (22:25 +0200)]
Rename feedback to show_message

5 years agoRemove InternalFeedback
Ville Penttinen [Tue, 5 Mar 2019 20:20:11 +0000 (22:20 +0200)]
Remove InternalFeedback

5 years agoSend an actual ShowMessage instead of InternalFeedback in feedback()
Ville Penttinen [Tue, 5 Mar 2019 19:59:01 +0000 (21:59 +0200)]
Send an actual ShowMessage instead of InternalFeedback in feedback()

This now allows us to send a notification that can be shown in the UI when the
workspace has been loaded.

Additionally this removes the need for internal_mode flag.

5 years agoMerge #938
bors[bot] [Tue, 5 Mar 2019 15:31:10 +0000 (15:31 +0000)]
Merge #938

938: Updates r=matklad a=kjeremy

Co-authored-by: kjeremy <kjeremy@gmail.com>
5 years agoUpdates
kjeremy [Tue, 5 Mar 2019 15:26:36 +0000 (10:26 -0500)]
Updates

5 years agoMerge #936
bors[bot] [Tue, 5 Mar 2019 14:11:43 +0000 (14:11 +0000)]
Merge #936

936: dont produce giant debug dumps r=matklad a=matklad

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
5 years agodont produce giant debug dumps
Aleksey Kladov [Tue, 5 Mar 2019 14:09:48 +0000 (17:09 +0300)]
dont produce giant debug dumps

5 years agoMerge #934
bors[bot] [Tue, 5 Mar 2019 13:33:32 +0000 (13:33 +0000)]
Merge #934

934: show message in client's UI if workspace fails to load r=matklad a=matklad

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
5 years agoshow message in client's UI if workspace fails to load
Aleksey Kladov [Tue, 5 Mar 2019 13:24:59 +0000 (16:24 +0300)]
show message in client's UI if workspace fails to load

5 years agoMerge #930
bors[bot] [Tue, 5 Mar 2019 10:28:24 +0000 (10:28 +0000)]
Merge #930

930: Add support for parsing multiple if and while-let patterns r=matklad a=vipentti

Co-authored-by: Ville Penttinen <villem.penttinen@gmail.com>
5 years agoIntroduce pattern_list to parse pipe separated patterns
Ville Penttinen [Tue, 5 Mar 2019 09:28:53 +0000 (11:28 +0200)]
Introduce pattern_list to parse pipe separated patterns

pattern_list comes in two variants, one uses the default PAT_RECOVERY_SET as the
recovery set, while other allows the user to provide a recovery set.

5 years agoMerge #912
bors[bot] [Tue, 5 Mar 2019 07:30:19 +0000 (07:30 +0000)]
Merge #912

912: Make goto definition/hover work for associated items r=matklad a=kjeremy

Just functions so far. Looking for comments.

Fixes #911
Towards #832

Co-authored-by: kjeremy <kjeremy@gmail.com>
Co-authored-by: Jeremy Kolb <kjeremy@gmail.com>
5 years agoAdd support for parsing multiple if and while-let patterns
Ville Penttinen [Mon, 4 Mar 2019 17:10:14 +0000 (19:10 +0200)]
Add support for parsing multiple if and while-let patterns

5 years agoUse impl_froms!
kjeremy [Mon, 4 Mar 2019 14:52:48 +0000 (09:52 -0500)]
Use impl_froms!

5 years agoMake ExpOrPatId private
kjeremy [Mon, 4 Mar 2019 14:49:18 +0000 (09:49 -0500)]
Make ExpOrPatId private

5 years agoMerge #929
bors[bot] [Mon, 4 Mar 2019 14:48:55 +0000 (14:48 +0000)]
Merge #929

929: allow `mut ident` patterns in trait methods r=matklad a=matklad

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
5 years agoallow `mut ident` patterns in trait methods
Aleksey Kladov [Mon, 4 Mar 2019 14:47:02 +0000 (17:47 +0300)]
allow `mut ident` patterns in trait methods

closes #928

5 years agoMerge #927
bors[bot] [Mon, 4 Mar 2019 13:40:34 +0000 (13:40 +0000)]
Merge #927

927: allow aliases in underscores r=matklad a=matklad

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
5 years agoallow aliases in underscores
Aleksey Kladov [Mon, 4 Mar 2019 13:38:54 +0000 (16:38 +0300)]
allow aliases in underscores

this helps with

    use foo::Trait as _;

syntax

5 years agoFormat
Jeremy Kolb [Mon, 4 Mar 2019 13:34:41 +0000 (08:34 -0500)]
Format

5 years agoAdd NavigationTarget::from_impl_item
Jeremy Kolb [Sat, 2 Mar 2019 19:57:40 +0000 (14:57 -0500)]
Add NavigationTarget::from_impl_item

5 years agoRemove commented out code
Jeremy Kolb [Sat, 2 Mar 2019 19:09:31 +0000 (14:09 -0500)]
Remove commented out code

5 years agoUse ImplItems instead of just Function
Jeremy Kolb [Sat, 2 Mar 2019 19:05:37 +0000 (14:05 -0500)]
Use ImplItems instead of just Function

5 years agoMake goto definition/hover resolve constructors
kjeremy [Fri, 1 Mar 2019 23:26:49 +0000 (18:26 -0500)]
Make goto definition/hover resolve constructors

5 years agoMerge #926
bors[bot] [Mon, 4 Mar 2019 12:49:37 +0000 (12:49 +0000)]
Merge #926

926: allow vararg functions r=matklad a=matklad

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
5 years agoMerge #925
bors[bot] [Mon, 4 Mar 2019 12:42:21 +0000 (12:42 +0000)]
Merge #925

925: improve error recovery r=matklad a=matklad

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
5 years agoimprove error recovery
Aleksey Kladov [Mon, 4 Mar 2019 11:24:02 +0000 (14:24 +0300)]
improve error recovery

parse the contents of error block as an expression

5 years agoallow vararg functions
Aleksey Kladov [Mon, 4 Mar 2019 11:34:59 +0000 (14:34 +0300)]
allow vararg functions

5 years agoextract block contents into a function
Aleksey Kladov [Mon, 4 Mar 2019 11:17:31 +0000 (14:17 +0300)]
extract block contents into a function

5 years agoMerge #916
bors[bot] [Mon, 4 Mar 2019 10:58:08 +0000 (10:58 +0000)]
Merge #916

916: Error handling for macros r=matklad a=detrumi

Part of #720

Co-authored-by: Wilco Kusee <wilcokusee@gmail.com>
5 years agoMerge #924
bors[bot] [Mon, 4 Mar 2019 10:50:40 +0000 (10:50 +0000)]
Merge #924

924: Improve show syntax tree r=matklad a=vipentti

This implements some of the features discussed in #820.

You can now select a range of syntax in a file and then use "Show Syntax Tree" to show its syntax. In addition you can select a range of syntax that is inside a string (typically test cases) and show its syntax as well.

Previous behavior is still available, simply use "Show Syntax Tree" without a selection, and you get the live updating syntax tree. Additionally now the live updating tree will update when the active file is changed. Previously you had to type something in the new file to get the syntax tree to update.

Co-authored-by: Ville Penttinen <villem.penttinen@gmail.com>
5 years agoAllow syntax strings to contain test markers
Ville Penttinen [Mon, 4 Mar 2019 07:19:46 +0000 (09:19 +0200)]
Allow syntax strings to contain test markers

We simply remove all the CUSTOM_MARKERS before attempting to parse the file.
This allows for the syntax selection to work with most of the test strings.

5 years agoImplement syntax tree support for syntax inside string
Ville Penttinen [Mon, 4 Mar 2019 06:54:54 +0000 (08:54 +0200)]
Implement syntax tree support for syntax inside string

This allows us to select a string or portions of it and try parsing it as rust
syntax. This is mostly helpful when developing tests where the test
itself contains some rust syntax as a string.

5 years agoAllow syntax tree to update when changing files
Ville Penttinen [Sun, 3 Mar 2019 20:03:37 +0000 (22:03 +0200)]
Allow syntax tree to update when changing files

Previously when using the file based syntax tree, it would not update until a
change had been made in the new file. Now we automatically update the syntax
tree to match the current file.

5 years agoRename syntaxtree text provider to SyntaxTreeContentProvider
Ville Penttinen [Sun, 3 Mar 2019 19:54:51 +0000 (21:54 +0200)]
Rename syntaxtree text provider to SyntaxTreeContentProvider

5 years agoAdd vscode support for range in SyntaxTreeParams
Ville Penttinen [Sun, 3 Mar 2019 19:21:40 +0000 (21:21 +0200)]
Add vscode support for range in SyntaxTreeParams

This enables the client to use a command to either show the live-updating
version of the syntax tree for the current file. Or optionally when a selected
range is provided, we then provide a snapshot of the syntax tree for the range.

5 years agoAdd expander unit tests
Wilco Kusee [Sun, 3 Mar 2019 19:33:50 +0000 (20:33 +0100)]
Add expander unit tests

5 years agoAdd optional range parameter to SyntaxTreeParams
Ville Penttinen [Sun, 3 Mar 2019 10:02:55 +0000 (12:02 +0200)]
Add optional range parameter to SyntaxTreeParams

When range is provided, instead of showing the syntax for the whole file, we'll
show the syntax tree for the given range.

5 years agoAdd parser unit tests
Wilco Kusee [Sun, 3 Mar 2019 11:45:30 +0000 (12:45 +0100)]
Add parser unit tests

5 years agoMerge #917
bors[bot] [Sun, 3 Mar 2019 11:44:01 +0000 (11:44 +0000)]
Merge #917

917: Trait tests r=flodiebold a=flodiebold

This adds a bunch of basic tests for trait functionality, just to outline what seems like the first goals for that ;)

It also changes the display of `Ty::Unknown` to `{unknown}`, since `[unknown]` could be confused with a slice, and fixes an error in the emacs runnables code.

Co-authored-by: Florian Diebold <flodiebold@gmail.com>
5 years agoInline type inference test snapshots
Florian Diebold [Sun, 3 Mar 2019 11:40:36 +0000 (12:40 +0100)]
Inline type inference test snapshots

5 years agoSplit parse and expand errors
Wilco Kusee [Sun, 3 Mar 2019 09:40:03 +0000 (10:40 +0100)]
Split parse and expand errors

5 years agoemacs: Fix (void-variable rust-analyzer--last-runnable)
Florian Diebold [Sat, 2 Mar 2019 19:58:06 +0000 (20:58 +0100)]
emacs: Fix (void-variable rust-analyzer--last-runnable)

5 years agoRepresent unknown types as {unknown} instead of [unknown]
Florian Diebold [Sat, 2 Mar 2019 19:55:56 +0000 (20:55 +0100)]
Represent unknown types as {unknown} instead of [unknown]

Since the latter could actually be a real type...

5 years agoFormatting
Wilco Kusee [Sat, 2 Mar 2019 19:49:13 +0000 (20:49 +0100)]
Formatting

5 years agoReplace option with result in mbe
Wilco Kusee [Sat, 2 Mar 2019 19:20:26 +0000 (20:20 +0100)]
Replace option with result in mbe

5 years agoAdd a bunch of tests for type inference involving traits
Florian Diebold [Sat, 2 Mar 2019 13:53:26 +0000 (14:53 +0100)]
Add a bunch of tests for type inference involving traits

None of them works correctly yet, of course.

5 years agoMerge #908
bors[bot] [Sat, 2 Mar 2019 14:21:44 +0000 (14:21 +0000)]
Merge #908

908: Enable markup for hover on expressions which resolve using type_of r=matklad a=vipentti

This adds highlighting when hovering over items which are resolved using
`type_of`.

This adds basic highlighting, discussed in #904.

Co-authored-by: Ville Penttinen <villem.penttinen@gmail.com>
5 years agoMerge #915
bors[bot] [Sat, 2 Mar 2019 14:09:46 +0000 (14:09 +0000)]
Merge #915

915: Bring BodySyntaxMapping in line with other source-map instances r=flodiebold a=matklad

* rename to SourceMap
* don't store the actual body inline, just return a pair

r? @flodiebold

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
5 years agoremove comment
Aleksey Kladov [Sat, 2 Mar 2019 14:01:20 +0000 (17:01 +0300)]
remove comment

5 years agoremove second way to get the body
Aleksey Kladov [Sat, 2 Mar 2019 13:59:18 +0000 (16:59 +0300)]
remove second way to get the body

5 years agorename syntax_mapping as well
Aleksey Kladov [Sat, 2 Mar 2019 13:56:09 +0000 (16:56 +0300)]
rename syntax_mapping as well

5 years agoMerge #914
bors[bot] [Sat, 2 Mar 2019 13:55:08 +0000 (13:55 +0000)]
Merge #914

914: A bit of cleanup in ty.rs r=flodiebold a=flodiebold

Co-authored-by: Florian Diebold <flodiebold@gmail.com>
5 years agoA bit of cleanup in ty.rs
Florian Diebold [Sat, 2 Mar 2019 13:53:12 +0000 (14:53 +0100)]
A bit of cleanup in ty.rs

5 years agoalign lower module query names
Aleksey Kladov [Sat, 2 Mar 2019 13:49:06 +0000 (16:49 +0300)]
align lower module query names

5 years agorename scopes
Aleksey Kladov [Sat, 2 Mar 2019 13:38:28 +0000 (16:38 +0300)]
rename scopes

5 years agorename to source_map
Aleksey Kladov [Sat, 2 Mar 2019 13:36:25 +0000 (16:36 +0300)]
rename to source_map

5 years agodont store body inside source map
Aleksey Kladov [Sat, 2 Mar 2019 13:18:40 +0000 (16:18 +0300)]
dont store body inside source map

5 years agorename syntax-mapping -> source-map
Aleksey Kladov [Sat, 2 Mar 2019 12:14:37 +0000 (15:14 +0300)]
rename syntax-mapping -> source-map

5 years agoMerge #910
bors[bot] [Thu, 28 Feb 2019 19:53:15 +0000 (19:53 +0000)]
Merge #910

910: Update hover message since we do support globs r=matklad a=kjeremy

#909 drew attention to this.

Co-authored-by: kjeremy <kjeremy@gmail.com>
5 years agoUpdate hover message since we do support globs
kjeremy [Thu, 28 Feb 2019 19:48:21 +0000 (14:48 -0500)]
Update hover message since we do support globs

5 years agoadd syntax-trees video
Aleksey Kladov [Thu, 28 Feb 2019 19:08:17 +0000 (22:08 +0300)]
add syntax-trees video

5 years agoEnable markup for hover on expressions which resolve using type_of
Ville Penttinen [Thu, 28 Feb 2019 07:33:06 +0000 (09:33 +0200)]
Enable markup for hover on expressions which resolve using type_of

This adds highlighting when hovering over items which are resolved using
`type_of`.

5 years agoMerge #906
bors[bot] [Wed, 27 Feb 2019 15:59:56 +0000 (15:59 +0000)]
Merge #906

906: Add support for goto definition and hover for struct fields r=matklad a=vipentti

This works partially towards fixing #512

Co-authored-by: Ville Penttinen <villem.penttinen@gmail.com>
5 years agoEnable hover support for NamedFieldDefs
Ville Penttinen [Wed, 27 Feb 2019 15:52:37 +0000 (17:52 +0200)]
Enable hover support for NamedFieldDefs

Additionally add type ascription for const and statics as well.

5 years agoAllow goto-definition to work for named fields in struct initializer
Ville Penttinen [Wed, 27 Feb 2019 15:22:53 +0000 (17:22 +0200)]
Allow goto-definition to work for named fields in struct initializer

Now goto definition should work when done on a named field in a struct
initializer.

5 years agoMerge #905
bors[bot] [Wed, 27 Feb 2019 15:22:53 +0000 (15:22 +0000)]
Merge #905

905: Update deps r=kjeremy a=kjeremy

Co-authored-by: kjeremy <kjeremy@gmail.com>
5 years agoFix the build
kjeremy [Wed, 27 Feb 2019 14:35:04 +0000 (09:35 -0500)]
Fix the build

5 years agoUpdate deps
kjeremy [Wed, 27 Feb 2019 13:58:13 +0000 (08:58 -0500)]
Update deps

5 years agoMerge #900
bors[bot] [Wed, 27 Feb 2019 12:18:55 +0000 (12:18 +0000)]
Merge #900

900: Add new trait ast::TypeAscriptionOwner r=vipentti a=vipentti

This trait should be implemented for nodes which have an ascribed type,
e.g. thing : Type. Such as let, const, static, param, named struct fields.

In addition, we update some places where previously we used node + node.type_ref() with `TypeAscriptionOwner` in the trait bounds.

Co-authored-by: Ville Penttinen <villem.penttinen@gmail.com>
5 years agoRemove `TypeRef` from item opts which implement TypeAscriptionOwner
Ville Penttinen [Wed, 27 Feb 2019 12:00:08 +0000 (14:00 +0200)]
Remove `TypeRef` from item opts which implement TypeAscriptionOwner

5 years agoMerge #901
bors[bot] [Wed, 27 Feb 2019 11:50:38 +0000 (11:50 +0000)]
Merge #901

901: Add basic support for showing fn signature when hovering r=matklad a=vipentti

This adds basic support for displaying function signature when hovering over a usage of a function.

Additionally refactored `hover` to return `HoverResult` to ease with testing and in general to be more robust.

Co-authored-by: Ville Penttinen <villem.penttinen@gmail.com>
5 years agoMerge #903
bors[bot] [Wed, 27 Feb 2019 11:09:47 +0000 (11:09 +0000)]
Merge #903

903: Work around for issue in vscode reporting a failure in request r=matklad a=vipentti

vscode would report "A request has failed" when it got "Content modified"
message and this would cause a pop-up to appear. This works around the issue by
returning an "empty" response that vscode can ignore.

Co-authored-by: Ville Penttinen <villem.penttinen@gmail.com>
5 years agoRemove RawResponse::empty()
Ville Penttinen [Wed, 27 Feb 2019 10:57:59 +0000 (12:57 +0200)]
Remove RawResponse::empty()

5 years agoWork around for issue in vscode reporting a failure in request
Ville Penttinen [Wed, 27 Feb 2019 10:49:04 +0000 (12:49 +0200)]
Work around for issue in vscode reporting a failure in request

vscode would report "A request has failed" when it got "Content modified"
message and this would cause a pop-up to appear. This works around the issue by
returning an "empty" response that vscode can ignore.

5 years agoAdd support for hovering over the name of an item
Ville Penttinen [Wed, 27 Feb 2019 07:49:22 +0000 (09:49 +0200)]
Add support for hovering over the name of an item

5 years agoReplace visit_fn with crate::completion::function_label
Ville Penttinen [Tue, 26 Feb 2019 19:30:46 +0000 (21:30 +0200)]
Replace visit_fn with crate::completion::function_label

5 years agoMerge #902
bors[bot] [Tue, 26 Feb 2019 18:04:24 +0000 (18:04 +0000)]
Merge #902

902: Fix a typo r=matklad a=dwijnand

Co-authored-by: Dale Wijnand <dale.wijnand@gmail.com>
5 years agoFix a typo
Dale Wijnand [Tue, 26 Feb 2019 17:59:32 +0000 (17:59 +0000)]
Fix a typo

5 years agoAdd new type HoverResult to contain the results of hovering
Ville Penttinen [Tue, 26 Feb 2019 16:56:04 +0000 (18:56 +0200)]
Add new type HoverResult to contain the results of hovering

This makes testing hovers easier as well as allows us to do more things with the
results if needed.

5 years agoAdd support for showing fn signature when hovering
Ville Penttinen [Tue, 26 Feb 2019 16:55:08 +0000 (18:55 +0200)]
Add support for showing fn signature when hovering

5 years agoUse TypeAscriptionOwner
Ville Penttinen [Tue, 26 Feb 2019 09:47:13 +0000 (11:47 +0200)]
Use TypeAscriptionOwner

This replaces places where we would use node + node.type_ref() with things that
have an ascribed type, with using the TypeAscriptionOwner as the trait bound so
we can simply pass the node.

5 years agoAdd new trait TypeAscriptionOwner
Ville Penttinen [Tue, 26 Feb 2019 09:35:57 +0000 (11:35 +0200)]
Add new trait TypeAscriptionOwner

This trait should be implemented for nodes which have an ascribed type,
e.g. thing : Type. Such as let, const, static, param, named struct fields.

5 years agoMerge #899
bors[bot] [Tue, 26 Feb 2019 08:49:17 +0000 (08:49 +0000)]
Merge #899

899: Change default value of highlightingOn to false r=matklad a=vipentti

This changes the default value for the vscode setting `rust-analyzer.highlightingOn` to `false`. Since currently the highlighting only supports Zenburn, which people may not be using, I think it makes sense to have this feature disabled by default.

This was discussed in #896

Co-authored-by: Ville Penttinen <villem.penttinen@gmail.com>
5 years agoChange default value of highlightingOn to false
Ville Penttinen [Tue, 26 Feb 2019 06:56:11 +0000 (08:56 +0200)]
Change default value of highlightingOn to false

5 years agoMerge #897
bors[bot] [Mon, 25 Feb 2019 12:03:57 +0000 (12:03 +0000)]
Merge #897

897: Add basic const/static type inference r=flodiebold a=vipentti

This adds basic const/static type inference discussed in #887.

Currently the inference does not work for const/static declared inside a block. In addition the inference does not work inside the bodies of const/static.

Co-authored-by: Ville Penttinen <villem.penttinen@gmail.com>
5 years agokill accidently commited file
Aleksey Kladov [Mon, 25 Feb 2019 12:02:12 +0000 (15:02 +0300)]
kill accidently commited file

5 years agoMerge #898
bors[bot] [Mon, 25 Feb 2019 10:51:37 +0000 (10:51 +0000)]
Merge #898

898: rename type to type_alias in the AST as well r=matklad a=matklad

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
5 years agorename type to type_alias in the AST as well
Aleksey Kladov [Mon, 25 Feb 2019 10:38:52 +0000 (13:38 +0300)]
rename type to type_alias in the AST as well

5 years agoMove ConstSignature creation to a single method
Ville Penttinen [Mon, 25 Feb 2019 08:29:56 +0000 (10:29 +0200)]
Move ConstSignature creation to a single method

5 years agoAdd static type inference
Ville Penttinen [Mon, 25 Feb 2019 08:21:01 +0000 (10:21 +0200)]
Add static type inference

5 years agoAdd const type inference
Ville Penttinen [Mon, 25 Feb 2019 07:27:47 +0000 (09:27 +0200)]
Add const type inference

5 years agoMerge #895
bors[bot] [Sun, 24 Feb 2019 20:52:04 +0000 (20:52 +0000)]
Merge #895

895: complete patterns r=matklad a=matklad

bors r+

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>