From bedff098b837865c0a43bb856435e981dc54c432 Mon Sep 17 00:00:00 2001 From: "Lasse R.H. Nielsen" Date: Thu, 19 Oct 2023 16:43:46 +0200 Subject: [PATCH 1/2] Turn top-library comment into non-dartdoc. Prepare for lints 3.0.0, which reports this as a dangling library comment, when it's probably just not intended a doc comment at all. --- lib/src/debug.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/debug.dart b/lib/src/debug.dart index f345d0c3..38da8d95 100644 --- a/lib/src/debug.dart +++ b/lib/src/debug.dart @@ -2,7 +2,7 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -/// Internal debugging utilities. +// Internal debugging utilities. import 'dart:math' as math; import 'chunk.dart'; From a46c23f7be28306f8f7a60802e6ab83ecac78f15 Mon Sep 17 00:00:00 2001 From: "Lasse R.H. Nielsen" Date: Tue, 24 Oct 2023 10:03:11 +0200 Subject: [PATCH 2/2] Update lib/src/debug.dart Keep as doc-comment, adding the then required `library;` to sit on. Co-authored-by: Nate Bosch --- lib/src/debug.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/src/debug.dart b/lib/src/debug.dart index 38da8d95..0b16c954 100644 --- a/lib/src/debug.dart +++ b/lib/src/debug.dart @@ -2,7 +2,9 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -// Internal debugging utilities. +/// Internal debugging utilities. +library; + import 'dart:math' as math; import 'chunk.dart';