-
-
Notifications
You must be signed in to change notification settings - Fork 918
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Fix exception thrown in ember quest tutorial (#3228)
Ember quest's run button was throwing an `unimplemented error`. This was happening was `EmberQuestGame.loadGameSegments`'s pattern matching was failing to match the block types. It seems for patterns involving `Type`, the correct way is to use `const (Foo)`. See second example [here](https://dart.dev/tools/linter-rules/type_literal_in_constant_pattern#details).
- Loading branch information
1 parent
df9be25
commit 83352ac
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters