@@ -323,7 +323,7 @@ impl<'ink> DebugBuilder<'ink> {
323
323
file,
324
324
location. get_line_plus_one ( ) as u32 ,
325
325
size,
326
- 0 , // no alignment for now
326
+ 0 , // No set alignment
327
327
offset,
328
328
DIFlags :: PUBLIC ,
329
329
di_type. into ( ) ,
@@ -340,7 +340,7 @@ impl<'ink> DebugBuilder<'ink> {
340
340
file,
341
341
location. get_line_plus_one ( ) as u32 ,
342
342
size,
343
- 0 , // no alignment for now
343
+ 0 , // No set alignment
344
344
DIFlags :: PUBLIC ,
345
345
None ,
346
346
types. as_slice ( ) ,
@@ -471,7 +471,7 @@ impl<'ink> DebugBuilder<'ink> {
471
471
file,
472
472
location. get_line_plus_one ( ) as u32 ,
473
473
file. as_debug_info_scope ( ) ,
474
- 0 , // no alignment for now
474
+ 0 , //No set alignment
475
475
) ;
476
476
self . register_concrete_type ( name, DebugType :: Derived ( typedef) ) ;
477
477
@@ -655,7 +655,6 @@ impl<'ink> Debug<'ink> for DebugBuilder<'ink> {
655
655
let location = & datatype. location ;
656
656
match type_info {
657
657
DataTypeInformation :: Struct { members, .. } => {
658
- //TODO: we can only register this after expansion
659
658
self . create_struct_type ( name, members. as_slice ( ) , location, index, types_index)
660
659
}
661
660
DataTypeInformation :: Array { name, inner_type_name, dimensions, .. } => {
0 commit comments