Nick Treleaven

Results 134 comments of Nick Treleaven

Updated to use `__edition_latest_do_not_use` instead of deprecation. See also comment about changelog.

> Didn't know this was a thing. What does that refer to?

@dkorpel Then can it just be a dmd diagnostic error rather than a language error?

Is the current dangling else error part of the grammar? *Edit:* I see that's actually a warning, not an error.

@tim-dlang That might work for strings, but for an integer literal and float literal to use too (to also solve the comment in bugzilla), that would make it ambiguous for...

@tim-dlang The grammar you linked for [floating-literal](https://alx71hub.github.io/hcb/#floating-literal) seems to require either a `.` or `e`, in D you can have float literals that don't: `1F` - that would conflict with...

@tim-dlang I'm going to focus just on suffixed literals for this pull. Also good point about the unicode whitespace characters, I think I'll just drop the unicode detection.

@RazvanN7 @maxhaton Perhaps (separately) refactoring ~~`TypeFunction.callMatch`~~ `FuncExp.matchType` to take an `ErrorSink` would help? I'm looking at doing that.