diff options
Diffstat (limited to 'src/hir/from_ast.cpp')
-rw-r--r-- | src/hir/from_ast.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/hir/from_ast.cpp b/src/hir/from_ast.cpp index 29711937..01917193 100644 --- a/src/hir/from_ast.cpp +++ b/src/hir/from_ast.cpp @@ -297,6 +297,13 @@ const ::HIR::SimplePath path_Sized = ::HIR::SimplePath("", {"marker", "Sized"}); e.value }); ), + (Float, + TODO(sp, "Floating point patterns"); + //return ::HIR::Pattern::Value::make_Float({ + // H::get_int_type(sp, e.type), + // e.value + // }); + ), (String, return ::HIR::Pattern::Value::make_String(e); ), |