[fine] Type checking bones
This commit is contained in:
parent
5cc9ecc398
commit
c0f40aa512
6 changed files with 613 additions and 3 deletions
|
|
@ -1,4 +1,5 @@
|
|||
use fine::parser::SyntaxTree;
|
||||
use fine::tokens::Lines;
|
||||
use pretty_assertions::assert_eq;
|
||||
|
||||
fn rebase_concrete(source_path: &str, dump: &str) {
|
||||
|
|
@ -83,4 +84,13 @@ fn assert_concrete(tree: &SyntaxTree, expected: &str, source_path: &str) {
|
|||
}
|
||||
}
|
||||
|
||||
fn assert_type_at(
|
||||
_tree: &SyntaxTree,
|
||||
_lines: &Lines,
|
||||
_pos: usize,
|
||||
_expected: &str,
|
||||
_source_path: &str,
|
||||
) {
|
||||
}
|
||||
|
||||
include!(concat!(env!("OUT_DIR"), "/generated_tests.rs"));
|
||||
|
|
|
|||
|
|
@ -5,4 +5,5 @@
|
|||
// | Number:'"42"'
|
||||
// | Semicolon:'";"'
|
||||
//
|
||||
// type: 138 Number
|
||||
42;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue