improve int/float type resolution
This commit is contained in:
+13
-1
@@ -14865,7 +14865,19 @@ exercise func(cursor usize, narrow i8, wider i16, count i32) i32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
main func() i32 { return exercise(7, 1, 1000, 3) }
|
||||
scan_open_cursor func() void {
|
||||
cursor := 0
|
||||
first Token := Token{start = cursor}
|
||||
second Token := Token{start = cursor}
|
||||
_ = first
|
||||
_ = second
|
||||
}
|
||||
|
||||
main func() i32 {
|
||||
result := exercise(7, 1, 1000, 3)
|
||||
scan_open_cursor()
|
||||
return result
|
||||
}
|
||||
`
|
||||
source_file := source.Source{path="record_constraints.bro", text=text}
|
||||
diagnostics := source.init_diagnostics(&source_file)
|
||||
|
||||
Reference in New Issue
Block a user