File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
crates/proc-macro-srv/src/server Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ impl server::FreeFunctions for RaSpanServer {
7676
7777 let kind = literal_to_external ( literal. kind ( ) ) . ok_or ( Err ( ( ) ) ) ?;
7878
79+ // FIXME: handle more than just int and float suffixes
7980 let suffix = match literal. kind ( ) {
8081 ast:: LiteralKind :: FloatNumber ( num) | ast:: LiteralKind :: IntNumber ( num) => num. suffix ( ) ,
8182 _ => None ,
Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ impl server::FreeFunctions for TokenIdServer {
6767
6868 let kind = literal_to_external ( literal. kind ( ) ) . ok_or ( Err ( ( ) ) ) ?;
6969
70+ // FIXME: handle more than just int and float suffixes
7071 let suffix = match literal. kind ( ) {
7172 ast:: LiteralKind :: FloatNumber ( num) | ast:: LiteralKind :: IntNumber ( num) => num. suffix ( ) ,
7273 _ => None ,
You can’t perform that action at this time.
0 commit comments