We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1e38e5 commit 9c88e1bCopy full SHA for 9c88e1b
gems/codetracer-pure-ruby-recorder/lib/recorder.rb
@@ -150,7 +150,6 @@ def initialize
150
@bool_type_index = load_type_id(BOOL, "Bool")
151
@symbol_type_index = load_type_id(STRING, "Symbol")
152
@no_type_index = load_type_id(ERROR, "No type")
153
- @float_type_index = load_type_id(FLOAT, "Float")
154
end
155
156
def load_flow(path, line, binding)
@@ -305,7 +304,8 @@ def int_value(i)
305
304
306
307
def float_value(f)
308
- ValueRecord.new(kind: 'Float', type_id: @float_type_index, f: f)
+ ti = load_type_id(FLOAT, 'Float')
+ ValueRecord.new(kind: 'Float', type_id: ti, f: f)
309
310
311
def string_value(text)
0 commit comments