diff --git a/packages/merge_map/README.md b/packages/merge_map/README.md index 3eef33c..cf62b85 100644 --- a/packages/merge_map/README.md +++ b/packages/merge_map/README.md @@ -1,9 +1,8 @@ # Belatuk Merge Map - [![version](https://img.shields.io/badge/pub-v3.0.1-brightgreen)](https://pub.dartlang.org/packages/belatuk_merge_map) [![Null Safety](https://img.shields.io/badge/null-safety-brightgreen)](https://dart.dev/null-safety) -[![License](https://img.shields.io/github/license/dart-backend/belatuk-common-utilities)](https://github.com/dart-backend/belatuk-common-utilities/packages/code_buffer/LICENSE) +[![License](https://img.shields.io/github/license/dart-backend/belatuk-common-utilities)](https://github.com/dart-backend/belatuk-common-utilities/packages/merge_map/LICENSE) **Replacement of `package:merge_map` with breaking changes to support NNBD.** diff --git a/packages/symbol_table/CHANGELOG.md b/packages/symbol_table/CHANGELOG.md index fef9186..1da20a8 100644 --- a/packages/symbol_table/CHANGELOG.md +++ b/packages/symbol_table/CHANGELOG.md @@ -4,6 +4,7 @@ * Upgraded from `pendantic` to `lints` linter * Published as `belatuk_symbol_table` package +* Fixed linter warnings ## 2.0.2 diff --git a/packages/symbol_table/README.md b/packages/symbol_table/README.md index a6eec58..fafc033 100644 --- a/packages/symbol_table/README.md +++ b/packages/symbol_table/README.md @@ -1,10 +1,10 @@ -# Belatuk Merge Map +# Belatuk Symbol Table -[![version](https://img.shields.io/badge/pub-v3.0.0-brightgreen)](https://pub.dartlang.org/packages/belatuk_symbol_table) +[![version](https://img.shields.io/badge/pub-v3.0.1-brightgreen)](https://pub.dartlang.org/packages/belatuk_symbol_table) [![Null Safety](https://img.shields.io/badge/null-safety-brightgreen)](https://dart.dev/null-safety) -[![Gitter](https://img.shields.io/gitter/room/angel_dart/discussion)](https://gitter.im/angel_dart/discussion) +[![License](https://img.shields.io/github/license/dart-backend/belatuk-common-utilities)](https://github.com/dart-backend/belatuk-common-utilities/packages/symbol_table/LICENSE) -[![License](https://img.shields.io/github/license/dukefirehawk/angel)](https://github.com/dukefirehawk/angel/tree/angel3/packages/symbol_table/LICENSE) +**Replacement of `package:symbol_table` with breaking changes to support NNBD.** A generic symbol table implementation in Dart, with support for scopes and constants. The symbol tables produced by this package are hierarchical (in this case, tree-shaped), diff --git a/packages/symbol_table/example/main.dart b/packages/symbol_table/example/main.dart index 5c804cf..214126a 100644 --- a/packages/symbol_table/example/main.dart +++ b/packages/symbol_table/example/main.dart @@ -1,4 +1,4 @@ -import 'package:angel3_symbol_table/angel3_symbol_table.dart'; +import 'package:belatuk_symbol_table/belatuk_symbol_table.dart'; void main(List args) { //var mySymbolTable = SymbolTable(); diff --git a/packages/symbol_table/lib/angel3_symbol_table.dart b/packages/symbol_table/lib/belatuk_symbol_table.dart similarity index 100% rename from packages/symbol_table/lib/angel3_symbol_table.dart rename to packages/symbol_table/lib/belatuk_symbol_table.dart diff --git a/packages/symbol_table/lib/src/symbol_table.dart b/packages/symbol_table/lib/src/symbol_table.dart index 40e3021..dbcb8ad 100644 --- a/packages/symbol_table/lib/src/symbol_table.dart +++ b/packages/symbol_table/lib/src/symbol_table.dart @@ -139,7 +139,9 @@ class SymbolTable { void _wipeLookupCache(String key) { _lookupCache.remove(key); - _children.forEach((c) => c._wipeLookupCache(key)); + for (var c in _children) { + c._wipeLookupCache(key); + } } /// Use [create] instead. diff --git a/packages/symbol_table/test/all_test.dart b/packages/symbol_table/test/all_test.dart index a126bc7..1d3ce01 100644 --- a/packages/symbol_table/test/all_test.dart +++ b/packages/symbol_table/test/all_test.dart @@ -1,4 +1,4 @@ -import 'package:angel3_symbol_table/angel3_symbol_table.dart'; +import 'package:belatuk_symbol_table/belatuk_symbol_table.dart'; import 'package:test/test.dart'; void main() {