Skip to content

syntax confusion: 1.+2 #19089

Description

@StefanKarpinski

This sort of confusion keeps cropping up: https://groups.google.com/forum/#!topic/julia-users/aycsd2iAktE. Two possibilities seem possible:

  • Eliminate 1. as a short syntax for 1.0;
  • Allow 1. but make ambiguous cases like 1.+2 a syntax error.

Related: #18714 – in that it also relates to making potentially ambiguous cases errors.

Metadata

Metadata

Assignees

Labels

parserLanguage parsing and surface syntax

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions