diff options
author | John Hodge <tpg@ucc.asn.au> | 2016-06-04 23:44:25 +0800 |
---|---|---|
committer | John Hodge <tpg@ucc.asn.au> | 2016-06-04 23:44:25 +0800 |
commit | b745c5f88faf89af9a487b7cf0cfc362b73c0423 (patch) | |
tree | e2b99aeaa80dc08cd96382c9be94e9c2a880a50a /src/expand/file_line.cpp | |
parent | 31bff06cbd7b208096958edb21c4a50e17b6e9f5 (diff) | |
download | mrust-b745c5f88faf89af9a487b7cf0cfc362b73c0423.tar.gz |
Resolve - Fix variable resolution and pattern binding
Diffstat (limited to 'src/expand/file_line.cpp')
-rw-r--r-- | src/expand/file_line.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expand/file_line.cpp b/src/expand/file_line.cpp index 75ce5679..c3bfc2de 100644 --- a/src/expand/file_line.cpp +++ b/src/expand/file_line.cpp @@ -21,7 +21,7 @@ class CExpanderLine: ::std::unique_ptr<TokenStream> expand(const Span& sp, const AST::Crate& crate, const ::std::string& ident, const TokenTree& tt, AST::Module& mod) override { - return box$( TTStreamO(TokenTree(Token((uint64_t)sp.start_line, CORETYPE_I32))) ); + return box$( TTStreamO(TokenTree(Token((uint64_t)sp.start_line, CORETYPE_U32))) ); } }; |