Make Corona Simulator Case Sensitive!

Just spent a good chunk of time tracking down this gnarly bug:

Repro Steps:

  1. Create main.lua,
  2. Create testmodule.lua
  3. Inside testmodule.lua insert basic module template: module(…, package.seeall)
  4. Inside main.lua add "local testmodule = require(“testModule.lua”)
  5. Add native.alert()
  6. Launch Corona SDK with main.lua
  7. Build and Launch for iPhone SDK

Observe: Corona SDK simulator launches and alert is shown. Iphone Simulator shows black screen.

Expect: Corona SDK shows black screen, console complains that “testModule.lua” can’t be found!

So, Corona SDK will happily load a module regardless of case, but the iphone simulator, and device won’t. This was a sucky one to track down. [import]uid: 22457 topic_id: 6057 reply_id: 306057[/import]

I had the same problem and needed some time to find the error.

I agree 100 %: “Make Corona Simulator Case Sensitive, please” [import]uid: 52314 topic_id: 6057 reply_id: 64644[/import]

We are aware of this issue.

Thanks,
Peach :slight_smile: [import]uid: 52491 topic_id: 6057 reply_id: 64945[/import]

Why is this not fixed yet? Is there a technical reason that it is difficult to implement?

It would be really nice if this could be done soon,
Wouter [import]uid: 116063 topic_id: 6057 reply_id: 111667[/import]

Hey Wouter - it’s a feature request not a bug (although I agree it is an issue; I know it causes some people headaches when they aren’t super careful with caps). You may want to post on the new roadmap thread to voice support for this. [import]uid: 52491 topic_id: 6057 reply_id: 111924[/import]