Bug Issue: Stencyl does not like some number+letter combination


Pages: 1

FMStudioGameDev

  • Subscriber - Stencyl Studio
  • *
March 29, 2019, 07:39:34 am
When typing some numbers+letter combinations in "anything = anything" or "anything not = anything" blocks it returns a compilation error:
Code: [Select]
Source/scripts/Design_888_888_showAds.hx:116: characters 20-21 : Unexpected d
Source/scripts/Design_888_888_showAds.hx:116: characters 20-21 : Missing ;
Source/scripts/Design_888_888_showAds.hx:116: characters 21-22 : Unexpected )
Looking on the code tab I found out that the "" are missing. (see attached screenshots)

So far I discovered it happens with any number (even more digits such as 2365d) followed by a "d" or a "f". Wrapping inside a "as a text" block doesn't fix it.
Do not happens with a "d" of a "f" on their own.


New attachment added by FMStudioGameDev - March 29, 2019, 07:39:49 am


New attachment added by FMStudioGameDev - March 29, 2019, 07:39:57 am


rob1221

  • Master Stencyler
  • *
March 29, 2019, 07:49:58 am
The toolset seems to be interpreting d as double and f as float when put after a number, but the compiler doesn't.
  • Status changed from New to Confirmed


rob1221

  • Master Stencyler
  • *
March 29, 2019, 10:14:39 am
Fixed in b10320.
  • Status changed from Confirmed to Resolved
  • Issue Assigned from (none) to rob1221


Pages: 1

Details

  • Reported
    March 29, 2019, 07:39:34 am
  • Updated
    March 29, 2019, 10:14:39 am

  • View Status
    Public
  • Type
    Bug
  • Status
    Resolved
  • Priority
    Normal
  • Version
    Stencyl 3.5, 3.5.0 beta 1
  • Fixed in
    (none)
  • Assigned to
    rob1221
  • Category
    Design Mode Blocks

Tags


Attachments


* code.png (38.21 kB, 626x466 - viewed 58 times.)

* code1.png (44.19 kB, 1288x316 - viewed 52 times.)