# Elm-reduce: Looking for codebases reproducing the Map.! Bug

**URL:** <https://discourse.elm-lang.org/t/elm-reduce-looking-for-codebases-reproducing-the-map-bug/3339>\
**Category:** Learn\
**Created:** [March 16, 2019, 10:40am UTC](https://discourse.elm-lang.org/t/elm-reduce-looking-for-codebases-reproducing-the-map-bug/3339 "2019-03-16T10:40:50Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Philipp\_Krueger](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/philipp_krueger/32/2674_2.png) [@Philipp\_Krueger](https://discourse.elm-lang.org/u/Philipp_Krueger)\
**Post date:** [March 16, 2019, 10:40am UTC](https://discourse.elm-lang.org/t/elm-reduce-looking-for-codebases-reproducing-the-map-bug/3339/1 "2019-03-16T10:40:50Z")

</div>

Hi everyone, I’m looking for any codebase that reproduces the [Map.! bug](https://github.com/elm/compiler/issues/1851) (or any other compiler bug, for example the [index out of bounds bug](https://github.com/elm/compiler/issues/1890)).

I would like to have more test data for my bachelors thesis topic elm-reduce ([link](https://gitlab.com/matheus23/elm-reduce/) to an early version), which should ultimately reduce elm projects to SSCCEs automatically, given a command-line script that tests for compilation crashes (or any other ‘interesting’ behaviour).

So, if you still have a commit or branch on which you first encountered an elm compiler bug, I’d to get in touch! 🙂

---

<div class="post-metadata">

**Author:** ![ashishsc](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/ashishsc/32/793_2.png) [@ashishsc](https://discourse.elm-lang.org/u/ashishsc)\
**Post date:** [March 17, 2019, 2:24am UTC](https://discourse.elm-lang.org/t/elm-reduce-looking-for-codebases-reproducing-the-map-bug/3339/2 "2019-03-17T02:24:20Z")

</div>

This codebase of ours currently has that bug: [https://github.com/weekly-fp/boston-elm-arcade](https://github.com/weekly-fp/boston-elm-arcade)

---

<div class="post-metadata">

**Author:** ![pdamoc](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/pdamoc/32/36_2.png) [@pdamoc](https://discourse.elm-lang.org/u/pdamoc)\
**Post date:** [March 17, 2019, 8:29am UTC](https://discourse.elm-lang.org/t/elm-reduce-looking-for-codebases-reproducing-the-map-bug/3339/3 "2019-03-17T08:29:32Z")

</div>

[This issue](https://github.com/elm/compiler/issues/1817) also contains SSCCEs for the bug.

---

<div class="post-metadata">

**Author:** ![Libbum](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/libbum/32/1311_2.png) [@Libbum](https://discourse.elm-lang.org/u/Libbum)\
**Post date:** [March 17, 2019, 5:29pm UTC](https://discourse.elm-lang.org/t/elm-reduce-looking-for-codebases-reproducing-the-map-bug/3339/4 "2019-03-17T17:29:07Z")

</div>

I hit it with [https://github.com/Libbum/floorplan](https://github.com/Libbum/floorplan). It’s triggered by the use of `kirchner/elm-selectize`, but I haven’t traced any further than that since I’m aware of the fickleness of this bug.

---

<div class="post-metadata">

**Author:** ![Philipp\_Krueger](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/philipp_krueger/32/2674_2.png) [@Philipp\_Krueger](https://discourse.elm-lang.org/u/Philipp_Krueger)\
**Post date:** [March 18, 2019, 8:04am UTC](https://discourse.elm-lang.org/t/elm-reduce-looking-for-codebases-reproducing-the-map-bug/3339/5 "2019-03-18T08:04:41Z")

</div>

Thank you, however, just to clarify: I’m especially _not_ looking for SSCCEs. Since I want to generate them myself automatically, I need the non-reduced projects.

---

<div class="post-metadata">

**Author:** ![akoppela](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/akoppela/32/250_2.png) [@akoppela](https://discourse.elm-lang.org/u/akoppela)\
**Post date:** [March 19, 2019, 7:09am UTC](https://discourse.elm-lang.org/t/elm-reduce-looking-for-codebases-reproducing-the-map-bug/3339/6 "2019-03-19T07:09:41Z")

</div>

@Philipp_Krueger We maintain [this open source package](https://github.com/ContaSystemer/elm-menu/issues/2) which has the issue with `--debug` flag enabled. Hope you can use it for your project.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/elm_lang/original/1X/50a05e53677a2c3b47776d7abd0f113eb50193a1.png) [@system](https://discourse.elm-lang.org/u/system)\
**Post date:** [March 29, 2019, 7:15am UTC](https://discourse.elm-lang.org/t/elm-reduce-looking-for-codebases-reproducing-the-map-bug/3339/7 "2019-03-29T07:15:05Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
